AutoHotkey Community

It is currently May 25th, 2012, 10:06 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: July 3rd, 2007, 7:57 pm 
Offline

Joined: June 27th, 2007, 12:08 am
Posts: 43
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 3rd, 2007, 9:13 pm 
Offline

Joined: November 7th, 2006, 9:47 pm
Posts: 1933
Location: Germany
For that purpose, ExitApp would do the job. You can define with OnExit what should happen if the script terminates.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 3rd, 2007, 9:27 pm 
Offline

Joined: January 27th, 2007, 8:24 pm
Posts: 30
Location: Canada
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 !)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 3rd, 2007, 9:31 pm 
Offline

Joined: June 27th, 2007, 12:08 am
Posts: 43
thank you guys


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 3rd, 2007, 10:02 pm 
Offline

Joined: July 25th, 2006, 7:37 pm
Posts: 490
Location: Midwest, USA
You can also define a hotkey in your script to ExitApp. Something like:

Code:
^Esc::ExitApp

_________________
SilverEdge78


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot], just me and 64 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group