| View previous topic :: View next topic |
| Author |
Message |
friend
Joined: 26 Jun 2007 Posts: 43
|
Posted: Tue Jul 03, 2007 6:57 pm Post subject: how do u stop the script and exit out the autoHotkey? |
|
|
I think I use too much of Goto and Gosub because i want to organize the code, but now my code is executing so weird over and over so is there a command that I can use to stop script execution entirely or AutoHotkey itself?
thank in advance |
|
| Back to top |
|
 |
Tuncay
Joined: 07 Nov 2006 Posts: 1886 Location: Germany
|
Posted: Tue Jul 03, 2007 8:13 pm Post subject: |
|
|
| For that purpose, ExitApp would do the job. You can define with OnExit what should happen if the script terminates. |
|
| Back to top |
|
 |
Dave72
Joined: 27 Jan 2007 Posts: 30 Location: Canada
|
Posted: Tue Jul 03, 2007 8:27 pm Post subject: |
|
|
| You should be able to right click on the taskbar icon, there is an Exit there (and if running as an ahk (as opposed to an exe), you can get display of variable values, commands currently executed etc.. great for troubleshooting stuff !) |
|
| Back to top |
|
 |
friend
Joined: 26 Jun 2007 Posts: 43
|
Posted: Tue Jul 03, 2007 8:31 pm Post subject: |
|
|
| thank you guys |
|
| Back to top |
|
 |
silveredge78
Joined: 25 Jul 2006 Posts: 481 Location: Midwest, USA
|
Posted: Tue Jul 03, 2007 9:02 pm Post subject: |
|
|
You can also define a hotkey in your script to ExitApp. Something like:
_________________ SilverEdge78 |
|
| Back to top |
|
 |
|