How to call a funtion without waiting first with SetTimer?
Posted: 23 Jul 2018, 03:49
I searched and couldn't find anything about it.
If I run this code, when I press the hotkey timer waits for 4 seconds and then runs the function. But I want it to run immediately when I press the hotkey and wait 4 seconds for next run.
Thank You.
Code: Select all
PgUp::
SetTimer, LittleTimer, 4000
Return
PgDn::
SetTimer, LittleTimer, Off
Return
SetTimer:
MsgBox,,,Woo
Return
Thank You.