susall Posted September 2, 2009 Share Posted September 2, 2009 Is there a way to pause a script? I need pause a script for debugging purposes. Link to comment Share on other sites More sharing options...
Bert Posted September 2, 2009 Share Posted September 2, 2009 msgbox The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
jvanegmond Posted September 2, 2009 Share Posted September 2, 2009 You can click on the tray icon and it pauses. Right click and unpause it again. Alternatively, you can look in the help file for HotkeySet and take the second example. github.com/jvanegmond Link to comment Share on other sites More sharing options...
jvanegmond Posted September 2, 2009 Share Posted September 2, 2009 msgboxDidn't even think of that just now. I used to do that a lot! github.com/jvanegmond Link to comment Share on other sites More sharing options...
Xand3r Posted September 2, 2009 Share Posted September 2, 2009 or.. Global $paused=False HotKeySet("p" , "pause_script") While True ;do some stuff Sleep(10);don't kill the cpu WEnd Func pause_scrit() $paused = Not $paused ToolTip("Script is paused!" , 0 , ) While $paused Sleep(100) WEnd ToolTip("") EndFunc Only two things are infinite, the universe and human stupidity, and i'm not sure about the former -Alber EinsteinPractice makes perfect! but nobody's perfect so why practice at all?http://forum.ambrozie.ro Link to comment Share on other sites More sharing options...
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