Jump to content

Stop a looping script


simonwar
 Share

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.

Link to comment
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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...