Created
October 1, 2023 01:25
-
-
Save mandy-h/77816967292eca3ffed13ff242bac1eb to your computer and use it in GitHub Desktop.
AHK Script to Move Cursor and Click
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Toggle := false | |
| F1:: | |
| Toggle := !Toggle | |
| if Toggle { | |
| j:: | |
| MouseMove,-100,0,0,R ;Moves the mouse cursor left | |
| return | |
| l:: | |
| MouseMove,100,0,0,R ;Moves the mouse cursor right | |
| return | |
| i:: | |
| Click ;Clicks the left mouse button | |
| return | |
| } | |
| return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment