Jump to content
Sign in to follow this  
simonwar

Stop a looping script

Recommended Posts

simonwar

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
frostfel

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

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  

×