after it worked so well I made it have a hotkey ([Ctrl] + [Insert]) to turn on and off this function (so dragging could be used)
I named it TurboClick (like the Turbo buttons on the old NES joypads):
.exe download: http://lsadevelopment.com/Software/Files/TurboClick.zip
Source:
Code: Select all
#NoTrayIcon
var = 1
MsgBox TurboClick is OFF.`n`r([Ctrl] + [Insert])
^Ins::
if(var = 0)
{
var = 1
MsgBox TurboClick is OFF.
}
else
{
var = 0
MsgBox TurboClick is ON.
}
return
~$LButton::
if(var = 0)
KeyWait LButton, T0.5
if ErrorLevel
While GetKeyState("LButton", "P")
{
Click
Sleep 25
}