Ursie Posted September 10, 2006 Share Posted September 10, 2006 Hello, I need some help on how to create some code so that my scripts stops execution. I don't want a loop with a sleep time in it. I just want the same functionality as the trayicon gives. Where you can pause script execution as well. Thnx for the help in advance. ursie Link to comment Share on other sites More sharing options...
BigDod Posted September 10, 2006 Share Posted September 10, 2006 lookup HotKeySet in the help file and look at the examples. Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
Ursie Posted September 10, 2006 Author Share Posted September 10, 2006 lookup HotKeySet in the help file and look at the examples.BigDod that piece of code out of the help is based on a Loop. So that means that the script is running still after you think its paused. its only in a While loop with noting inside the while loop.But in my opinion its not the same as the "Pause Script" functionality give via the trayicon.Thnx for the fast reply though Link to comment Share on other sites More sharing options...
Thatsgreat2345 Posted September 10, 2006 Share Posted September 10, 2006 ummmm to unpause a script it still has to be running , and that is one of the best examples of pause, it is in a loop waiting and then when you press the hotkey again it will set pause to not pause and continue with the script.... Link to comment Share on other sites More sharing options...
Ursie Posted September 10, 2006 Author Share Posted September 10, 2006 ummmm to unpause a script it still has to be running , and that is one of the best examples of pause, it is in a loop waiting and then when you press the hotkey again it will set pause to not pause and continue with the script....Ahhh yeah ofcourse thats true ofcourse. To unpause it again the script has to be running. How stupid of me so what i want can't be done. Thats quite simple.Thnx m8 Link to comment Share on other sites More sharing options...
Thatsgreat2345 Posted September 10, 2006 Share Posted September 10, 2006 u can pause it, and hide the GUI and have it reopen using the tray icon its not that hard 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