Page 1 of 1

need help with timer

Posted: 24 Sep 2018, 10:44
by sirdrive
Hi. Pls help. When I'm trying to use two timers which crossing in same time - I need that first timer make all actions(even sleep pause) before second timer will make his actions.
For example - I need to get "1234", But got "1342":

Code: Select all

F5::
Settimer, Alert1, 1000
Settimer, Alert2, 1000
return
F6::
Settimer, Alert1, off
Settimer, Alert2, off
return

Alert1:
send 1
sleep 1000
send 2
return

Alert2:
send 3
sleep 1000
send 4
Settimer, Alert2, off
return