Hi Community
I've been working around this for days without any luck
Let's say I need two actions to be executed by pressing only one hotkey, but action A must be executed immediately while action B after 30 seconds.
I tried with "Sleep" but it unables the hotkey untill the time expires, and I don't need this. The hotkey must be Active for a second press if necessary.
Any idea?
Thanks in advance
F10::
Send, a
sleep, 30000
Send, b
help with delay
Re: help with delay
Code: Select all
F10::
Send, a
SetTimer, SendB, -30000
return
SendB:
Send, b
return
Re: help with delay
idk if I don't use it properly but, Setting a Timer doesn't solve my problem because the event occurs when I run the script and not when I press the Hotkey.
I need the Hotkey F10:: to function as a trigger for the first event to occur, and the second event to occur once the time elapsed
I need the Hotkey F10:: to function as a trigger for the first event to occur, and the second event to occur once the time elapsed
Re: help with delay
Sorry Boiler
it works fine
thank you very much for your help
it works fine
thank you very much for your help