Search found 51 matches

by Net_Wars
03 Jun 2020, 10:12
Forum: Ask for Help (v1)
Topic: Please help write something about AutoHotkey
Replies: 4
Views: 208

Re: Please help write something about AutoHotkey

I mean this language to write in Notepad (in .ahk file)

I'm asking because I don't know C++
by Net_Wars
03 Jun 2020, 09:40
Forum: Ask for Help (v1)
Topic: Please help write something about AutoHotkey
Replies: 4
Views: 208

Please help write something about AutoHotkey

Hi,

I'm writing master thesis about app made in AutoHotkey and I need to describe it.
Can You tell me what is the language used in Autohotkey?

Thank You in advance
by Net_Wars
05 May 2020, 12:29
Forum: Ask for Help (v1)
Topic: how to use fractional numbers variables in script Topic is solved
Replies: 4
Views: 420

Re: how to use fractional numbers variables in script Topic is solved

Hi,
Don't want to make another thread for this basic thing.

Can someone tell me how to write this formula to make it work.
I've tried everything I can but it won't work at all.
1.png
1.png (4.34 KiB) Viewed 308 times
I've tried even to transcribe it to basic formulas
Thanks!
by Net_Wars
23 Apr 2020, 11:22
Forum: Ask for Help (v1)
Topic: fileappend to specific line
Replies: 3
Views: 359

fileappend to specific line

Hi, I'm trying to make an app with database in notepad. I would like to have possibility to add new position in between other registrations. I was thinking about copy whole content to temporary file → copy first part (to specific line) → append new registration → copy second part. And of course mana...
by Net_Wars
21 Apr 2020, 13:27
Forum: Ask for Help (v1)
Topic: how to use fractional numbers variables in script Topic is solved
Replies: 4
Views: 420

Re: how to use fractional numbers variables in script Topic is solved

Thank You for reply
This works, no error report now.
It was thinking that every variable there have to be in % signs. :headwall:
Thank You very much
by Net_Wars
21 Apr 2020, 12:01
Forum: Ask for Help (v1)
Topic: how to use fractional numbers variables in script Topic is solved
Replies: 4
Views: 420

how to use fractional numbers variables in script Topic is solved

Hi, I need to do some math in my script. I'm stuck because I need to use fractional numbers. AHK is interpreting numbers with comma or dot as a string. I don't know how to convert them to hexadecimal or scientific notation. I've searched the board but I can't found solution (I'm noob in scripting an...
by Net_Wars
28 Apr 2019, 04:35
Forum: Ask for Help (v1)
Topic: Changing hotkey based on user input Topic is solved
Replies: 1
Views: 448

Changing hotkey based on user input Topic is solved

Hi, Is there possibility to change the hotkey based on user input? I want to change the F1 F1:: ;<============ If (OnOff = 0) { Gosub, On return } else If (OnOff = 1) { Gosub, Off return } return to the hotkey entered here by user Initui: Suspend Gui, New, , Initui Gui, Color, White Gui, Show, W200 ...
by Net_Wars
23 Apr 2019, 12:34
Forum: Ask for Help (v1)
Topic: Making Youtube Picture-In-Picture window Topic is solved
Replies: 0
Views: 994

Making Youtube Picture-In-Picture window Topic is solved

Hi, I've decided to write a script to make PIP window from Youtube. This is my script: F1:: Send, #{Down} WinMove, A,, 1280, 617, 674, 441 WinSet, Region, 0-73 620-0 W960 H602, A Send, {t} WinSet, AlwaysOnTop, On, A return But when using WinSet, Region (...) the invisible part of window is refreshin...
by Net_Wars
03 Feb 2019, 14:37
Forum: Ask for Help (v1)
Topic: pls tell me whats with mouse key script
Replies: 3
Views: 773

Re: pls tell me whats with mouse key script

1) use [ code ] (your code) [ /code ] next time
2) I don't understand functions expression but I think You could try use tog:="RButton" instead of AppsKey:="RButton"
3) add togstate += 1 under static
by Net_Wars
28 Jan 2019, 08:16
Forum: Ask for Help (v1)
Topic: Launch and position apps on startup
Replies: 1
Views: 2500

Re: Launch and position apps on startup

Hi Try this code: Run, "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" Sleep 100 WinMove, A,, (A_screenwidth*2), 0, A_screenwidth, A_screenheight Sleep 100 Run, " " ;Discord shortcut path Sleep 100 WinMove, A,, 0, 0, (A_screenwidth/2), (A_screenheight/2) Sleep 100 Run, " " ;Use WindowS...
by Net_Wars
12 Jan 2019, 06:47
Forum: Ask for Help (v1)
Topic: Ctrl + Shift + Win + B
Replies: 5
Views: 2185

Re: Ctrl + Shift + Win + B

Maybe try Custom Resolution Utility mentioned here https://www.nextofwindows.com/windows-1 ... g-computer
by Net_Wars
11 Jan 2019, 06:58
Forum: Ask for Help (v1)
Topic: Ctrl + Shift + Win + B
Replies: 5
Views: 2185

Re: Ctrl + Shift + Win + B

Try the code posted here: https://www.autohotkey.com/boards/viewtopic.php?f=76&t=39413&p=180609&hilit=woke+from+sleep#p180609 Add Send, ^+#{b} at the end of code (instead of MsgBox command) I found that code to help You and now I'm using this for sending NumLock after waking up laptop. Windows 10 is...
by Net_Wars
09 Jan 2019, 10:56
Forum: Ask for Help (v1)
Topic: [dual monitor] move mouse cursor to the center of active window
Replies: 3
Views: 4262

Re: [dual monitor] move mouse cursor to the center of active window

@M_L MouseMove is working with second monitor. Big disadvantage of this is that You must have second monitor always in the same place. @Henrryparth This code should work CoordMode,Mouse,Screen ^+!m:: screenposH:=1 ;put 1 for 2nd screen above 1st, and -1 for 2nd screen below 1st or if verticaly set t...
by Net_Wars
06 Jan 2019, 16:10
Forum: Ask for Help (v1)
Topic: Space and Uppercase chars in hotkey
Replies: 4
Views: 874

Re: Space and Uppercase chars in hotkey

My previous post was useless in this context.
Is there a way for me to test it?
What this script does when it finds the uppercase letter? Does it treat it as a lowercase letters or leave a space or give an error and stops working?
by Net_Wars
06 Jan 2019, 09:23
Forum: Ask for Help (v1)
Topic: Space and Uppercase chars in hotkey
Replies: 4
Views: 874

Re: Space and Uppercase chars in hotkey

I'm not an advanced scripter but want to help.
See this:
https://autohotkey.com/docs/commands/Ho ... m#EndChars
and maybe try using Clipboard instead of listing them
https://autohotkey.com/docs/misc/Clipboard.htm
Hope this will help You
by Net_Wars
06 Jan 2019, 09:11
Forum: Ask for Help (v1)
Topic: Code working on an inactive window Topic is solved
Replies: 3
Views: 979

Re: Code working on an inactive window Topic is solved

Maybe try adding this to your script
https://autohotkey.com/docs/commands/WinActivate.htm

Advice: Use Full Editor & Preview button under text box to use tags at this forum easier.
by Net_Wars
06 Jan 2019, 09:02
Forum: Ask for Help (v1)
Topic: i need code
Replies: 12
Views: 2227

Re: i need code

Try
SC011::SC01D or SC011::SC11D
by Net_Wars
06 Jan 2019, 08:49
Forum: Ask for Help (v1)
Topic: Few things in one key
Replies: 7
Views: 1414

Re: Few things in one key

japanladies wrote:
06 Jan 2019, 08:39
@Net_Wars

I was trying this and it make only right click + insert and then dont click left + right
For me it works very well. Maybe try to change coordinates by few pixels (different in first click and another).
by Net_Wars
06 Jan 2019, 03:56
Forum: Ask for Help (v1)
Topic: Few things in one key
Replies: 7
Views: 1414

Re: Few things in one key

Try this: Del:: Click, 1262, 136, right Sleep 50 Send {Ins down}{Ins up} Sleep 50 Click, 1262, 136 Sleep 50 Click, 1262, 136, right return I've changed order of Click command like in examples in here https://autohotkey.com/docs/commands/Click.htm And add this: CoordMode, Mouse, Screen at the beginni...
by Net_Wars
06 Jan 2019, 03:39
Forum: Ask for Help (v1)
Topic: WheelUp/Down Problem
Replies: 3
Views: 718

Re: WheelUp/Down Problem

You are new here so You don't know but if You want to paste code in here use [ code ] (your code) [/ code ] without spaces.
Sorry but I can't help You.

Go to advanced search