I want a script that will rapid fire left click when I hold down the Left Mouse Button but only works if I hold down SHIFT key as well.
Here's what I have:
~$LButton::
While GetKeyState("LButton", "P"){
Click
Sleep 5 ; milliseconds
}
return
I just need it to detect if SHIFT is held down to work
Rapid fire only if another key is held down
- eventhorizon
- Posts: 158
- Joined: 27 Oct 2016, 14:22
Re: Rapid fire only if another key is held down
See if this works for you...
Code: Select all
$+LButton::
while (1)
{ s := GetKeyState("LShift","p")
b := GetKeyState("LButton","p")
if (s && b)
{ Click Left
Sleep, 10
}
else
{ break
}
}
return
A computer lets you make more mistakes faster than any invention in human history – with the possible exceptions of handguns and tequila.
Who is online
Users browsing this forum: No registered users and 74 guests