Created
January 2, 2024 10:36
-
-
Save woctezuma/98623bddd37d319b644b30fcadcce3fc to your computer and use it in GitHub Desktop.
AutoHotkey: automatically left-click several times
This file contains 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
#Requires AutoHotkey v2.0 | |
^a:: ; Press <Ctrl+A> to start the script. | |
{ | |
Loop 10 ; Loop 10 times. | |
{ | |
MouseClick "left" ; Left-click | |
Sleep 100 ; Sleep | |
if GetKeyState("z", "P") ; Press <Z> to stop the script. | |
break | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Useful references: