t0ddie Posted January 9, 2005 Posted January 9, 2005 HotKeySet("1", "TogglePause") $x = 0 while 1 $x = $x + 1 msgbox(0,"test",$x,1) WEnd Func TogglePause() $PAUSED = NOT $PAUSED While $PAUSED sleep(100) ToolTip('Script is "Paused"',0,0) WEnd EndFunc i guess this pauses it but pressing 1 again will not make it resume hmmmmmmmm, breakfast awaits mmm beer i want to be able to unpause it as well, yet its not working. thanks to all who contribute Todd Valik Note Added 19 October 2006 - 08:38 AMAdded to warn level I just plain don't like you.
Developers Jos Posted January 9, 2005 Developers Posted January 9, 2005 add this to the start of your script: Global $PAUSED SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
t0ddie Posted January 9, 2005 Author Posted January 9, 2005 NEVER! beer is good thanks, now i just need to figure out how to turn off the tooltip when you unpause it Valik Note Added 19 October 2006 - 08:38 AMAdded to warn level I just plain don't like you.
Developers Jos Posted January 9, 2005 Developers Posted January 9, 2005 NEVER!beer is goodthanks, now i just need to figure out how to turn off the tooltip when you unpause it<{POST_SNAPBACK}>check out the example in the helpfile for HotKeySet()...It has the fix for both of your issue .. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
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