I want a script that can interrupt others threads. For example:
;do action a
;do action a2
While a is being excecuted, i press b, then this thread will stop and return.
I tried to replace all sleep command with
input, key, L1 T2
if (key = "b")
I also tried reload command. But i wonder if there is any way better than that? Thanks in advance.
Get help with using AutoHotkey and its commands and hotkeys
2 posts • Page 1 of 1
you can make a 'b' hotkey which changes a variable and check that variable after the sleep commands.