Hello,
I am looking for help writting a script which whenever e is pressed, m will be held down for 1 second. Additionally, I would like to be able to retrigger this action before the 1 second duration has expired by repressing e. Hence the m key would be released and then repressed down for 1 second everytime e is pressed. Any help would be greatly appreciated.
Retrigger script if trigger key pressed again Topic is solved
Re: Retrigger script if trigger key pressed again Topic is solved
Hallo,
try:
try:
Code: Select all
e::
Send, {m Down}
SetTimer, MTimer, -1000
Return
MTimer:
Send, {m Up}
Return
Re: Retrigger script if trigger key pressed again
Thank you, works like a charm.