Jump to content
Sign in to follow this  
simonwar

Stop a looping script

Recommended Posts

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.

Share this post


Link to post
Share on other sites

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 script

Func ExitApp()

Exit

EndFunc

HotKeySet("{INS}", "ExitApp")

This will close the sricpt

Share this post


Link to post
Share on other sites

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...

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...