hydroxide Posted April 8, 2008 Share Posted April 8, 2008 Is there a way to terminate a script half-way during execution other than moving the mouse to the tray, and going right-click > exit? It gets annoying when a series of mouse movements and keystrokes go haywire.. Any function key that could be assigned to stop execution when things go haywire ? Link to comment Share on other sites More sharing options...
maestro1024 Posted April 8, 2008 Share Posted April 8, 2008 Create a hot key that will point to an exit function CODE HotKeySet("{ESC}", "Terminate") ; create a hot key for the key escape Func Terminate() Exit 0 ; terminate the script EndFunc Link to comment Share on other sites More sharing options...
hydroxide Posted April 14, 2008 Author Share Posted April 14, 2008 Create a hot key that will point to an exit functionCODEHotKeySet("{ESC}", "Terminate") ; create a hot key for the key escapeFunc Terminate() Exit 0 ; terminate the scriptEndFuncThanks Maestro1024, .. works like a charm 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