AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

how to enable break during script execution?

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
dwaynek



Joined: 20 Dec 2005
Posts: 61

PostPosted: Tue May 12, 2009 9:13 pm    Post subject: how to enable break during script execution? Reply with quote

how do i enable, eg the esc key, to break execution of a script?
Back to top
View user's profile Send private message
BigVent



Joined: 29 May 2008
Posts: 180

PostPosted: Tue May 12, 2009 9:21 pm    Post subject: Reply with quote

Code:
Esc::ExitApp  ;exits application
;or this
Esc::Pause ;pauses script

_________________
~BigVent
Back to top
View user's profile Send private message
Guest






PostPosted: Tue May 12, 2009 9:21 pm    Post subject: Reply with quote

Code:
Esc::ExitApp
Back to top
dwaynek



Joined: 20 Dec 2005
Posts: 61

PostPosted: Tue May 12, 2009 9:52 pm    Post subject: Reply with quote

ExitApp causes Autohotkey to completely terminate resulting in me requiring to restart it.

and pause is just a temporary pause.

how do i end the currently executing script but still have a fully functioning Autohotkey?
Back to top
View user's profile Send private message
jaco0646



Joined: 07 Oct 2006
Posts: 3113
Location: MN, USA

PostPosted: Wed May 13, 2009 12:08 am    Post subject: Reply with quote

Post your code. Then explain which part you want to stop and which part should keep running.
Back to top
View user's profile Send private message Visit poster's website
JohnnyTwoTone



Joined: 10 May 2009
Posts: 45

PostPosted: Wed May 13, 2009 4:50 am    Post subject: Reply with quote

esc::
reload
return
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group