Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Auto-It Auto Clicker
$currentClicking = False
HotKeySet('^x', 'End')
Func End()
Exit
EndFunc
HotKeySet('^o', 'Click')
Func Click()
If $currentClicking Then
$currentClicking = False
Else
$currentClicking = True
EndIf
EndFunc
While True
If $currentClicking Then
MouseClick("left")
EndIf
Sleep(100)
WEnd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment