I'm not sure how to work this on autohotkey as I am very new and I don't know what it is called, but, specifically, I'm trying to get a script that whenever I press the key 1, it does many actions.
I'm trying to make it so that whenever I press 1, it:
Clicks the D letter from my keyboard
Waits around 7 seconds
Moves the cursor about 70 pixels south and makes a mouse click
Clicks the letter D
Moves the cursor 70 pixels north back to where it began
And finally it loops indefinitely
I'm sorry if I'm really incompetent, I just started getting into this and want to make this. All advice would be appreciated, thank you!
Help on writing a specific script
Re: Help on writing a specific script
If you use the scan code (https://autohotkey.com/docs/KeyList.htm#sc) you can specify keys more precisely (including ones that aren't included in the language by default).
On my keyboard (and I suspect on yours) - numeric 1 (not the numpad 1) has a scan code of 002, so you can use this version instead to get exactly what you asked for:
https://www.ahkgen.com/?length=1&commen ... on0=Custom
If this does not work for you, checkout the OP here for a way to get the scan code of any key: https://autohotkey.com/board/topic/2110 ... -of-a-key/
Also, https://autohotkey.com/boards/viewtopic.php?f=7&t=50699
On my keyboard (and I suspect on yours) - numeric 1 (not the numpad 1) has a scan code of 002, so you can use this version instead to get exactly what you asked for:
https://www.ahkgen.com/?length=1&commen ... on0=Custom
If this does not work for you, checkout the OP here for a way to get the scan code of any key: https://autohotkey.com/board/topic/2110 ... -of-a-key/
Also, https://autohotkey.com/boards/viewtopic.php?f=7&t=50699
Re: Help on writing a specific script
Google - Pullovers macro creator
Who is online
Users browsing this forum: No registered users and 369 guests