Looking to make the script below work only when both the left and right mouse buttons are held down together. Not quite sure how to do it, any help would be appreciated.
LButton::
KeyWait, LButton, T1
SetMouseDelay 20
While GetKeyState("LButton","P"){
Click
Click, right
}
return
Edit: Turns out it was a pretty simple fix. Changing it to "LButton & RButton::" seemed to get the job done.
Rapid fire while both mouse buttons are held down
Re: Rapid fire while both mouse buttons are held down
AHKv2.0
Enjoy!
Code: Select all
~LButton::
~RButton::
while(getKeyState("LButton", "P") && getKeyState("RButton", "P")) {
Send("F")
Sleep(50)
}
return
#!Q::ExitApp
AHKv2.0 alpha forever.
Return to “Gaming Scripts (v1)”
Who is online
Users browsing this forum: No registered users and 51 guests