Last active
December 19, 2020 16:19
-
-
Save benhovinga/8bd08d252957303d06e26b28b82b42a0 to your computer and use it in GitHub Desktop.
AutoHotkey Script to automatically click.
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
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
; Clicker | |
^K:: | |
Loop { | |
if stopit = true | |
{ | |
stopit = false | |
break | |
} | |
Click | |
Sleep 2000 | |
} | |
return | |
; Stop any loops | |
^S:: | |
stopit = true | |
return | |
; Quit the script | |
^Q::ExitApp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment