need help with timer

Get help with using AutoHotkey and its commands and hotkeys
sirdrive
Posts: 1
Joined: 24 Sep 2018, 10:40

need help with timer

24 Sep 2018, 10:44

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

Return to “Ask For Help”

Who is online

Users browsing this forum: Bing [Bot], tm6464 and 208 guests