send - AUTOHOTKEY If left mouse pressed.. loop..something -



send - AUTOHOTKEY If left mouse pressed.. loop..something -

this current code:

lbutton:: send {sc013} sleep 10 send {sc021} sleep 10 homecoming rbutton:: send {sc014} sleep 10 send {sc021} sleep 10 homecoming

and need is... isnsted of when left mouse/right mouse button clicked something..... need when left/right mouse button holded loop letter "f". thnk you.

you'll need utilize getkeystate() , while-loop. while rbutton pressed, send f.

rbutton:: while (getkeystate("rbutton", "p")) { send, f } homecoming

loops send autohotkey mouseclick-event

Comments

Popular posts from this blog

php - How to pass multiple values from url -

php - Laravel not returning controller -

c# - Confused on how to specify a Platform and Version while using ChromeOptions for RemoteWebDriver with Selenium donNet since recent updates -