Created
January 6, 2017 16:31
-
-
Save mattearly/9fcaa172d54e212d8c6c1907d95949d6 to your computer and use it in GitHub Desktop.
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. | |
; #Warn ; Enable warnings to assist with detecting common errors. | |
SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
!LButton:: | |
MouseClick, Left,X,Y,20,1, | |
return | |
mega_click = y | |
^!RButton:: | |
if mega_click = y | |
mega_click = n | |
return | |
^!LButton:: | |
mega_click = y | |
Loop, 360 { | |
if mega_click = n | |
return | |
MouseClick, Left,X,Y,1,1 | |
Sleep 625 | |
} | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When running this autohotkey script,
Alt+LeftClick spams 20 clicks in an instant.
Shift+Alt+RightClick begins clicking left click about once every .625 seconds for somewhere around 5 minutes. It can be toggled off sooner by pressing the hotkey Shift+Alt+RightClick again.