simonwar Posted September 22, 2007 Share Posted September 22, 2007 How do you stop a looping script that has the mouse running about to. Sreamed at my PC hitting everything damn thing, Esc Ctrl-Esc Ctrl-Alt-Esc Aaaaaarrggghhhhh! How do I simply put in an exit command, for example if I hit Esc regardless it will pause the script. Thanks, Simon. Link to comment Share on other sites More sharing options...
frostfel Posted September 22, 2007 Share Posted September 22, 2007 How do you stop a looping script that has the mouse running about to.Sreamed at my PC hitting everything damn thing, Esc Ctrl-Esc Ctrl-Alt-Esc Aaaaaarrggghhhhh!How do I simply put in an exit command, for example if I hit Esc regardless it will pause the script.Thanks, Simon.Yeah you should always put an exit func in ur scriptFunc ExitApp() ExitEndFuncHotKeySet("{INS}", "ExitApp")This will close the sricpt Link to comment Share on other sites More sharing options...
Danny35d Posted September 22, 2007 Share Posted September 22, 2007 Look at the help file HotKeySet() function. It has an example of how to pause a script. AutoIt Scripts:NetPrinter - Network Printer UtilityRobocopyGUI - GUI interface for M$ robocopy command line Link to comment Share on other sites More sharing options...
Achilles Posted September 22, 2007 Share Posted September 22, 2007 However if you don't do that (and you have more then one user) you can press Windows + L and then close the autoit process from the other user... I've had to do that a few times when I was in a hurry to make a mouse loop... My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] 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