Jussip Posted September 9, 2008 Posted September 9, 2008 Hey, Is there any way to put hotkey to script, so i press Insert button, and the script pauses? And if i press againg, it continues? If there is, please post it here. -Jiibah
Andreik Posted September 9, 2008 Posted September 9, 2008 Hey, Is there any way to put hotkey to script, so i press Insert button, and the script pauses? And if i press againg, it continues? If there is, please post it here. -Jiibah You can do something like this: HotKeySet("{PAUSE}","ScriptPause") Global $STATE = 0 While 1 TrayTip("Script","Run",1) Sleep(15) WEnd Func ScriptPause() $STATE += 1 Do TrayTip("Script","Pause",1) Sleep(15) $VAL = Mod($STATE,2) Until $VAL = 1 EndFunc
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now