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 -

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

database - php search bar when I press submit with nothing in the search bar it shows all the data -