| View previous topic :: View next topic |
| Author |
Message |
dwaynek
Joined: 20 Dec 2005 Posts: 61
|
Posted: Tue May 12, 2009 9:13 pm Post subject: how to enable break during script execution? |
|
|
| how do i enable, eg the esc key, to break execution of a script? |
|
| Back to top |
|
 |
BigVent
Joined: 29 May 2008 Posts: 180
|
Posted: Tue May 12, 2009 9:21 pm Post subject: |
|
|
| Code: | Esc::ExitApp ;exits application
;or this
Esc::Pause ;pauses script
|
_________________ ~BigVent |
|
| Back to top |
|
 |
Guest
|
Posted: Tue May 12, 2009 9:21 pm Post subject: |
|
|
|
|
| Back to top |
|
 |
dwaynek
Joined: 20 Dec 2005 Posts: 61
|
Posted: Tue May 12, 2009 9:52 pm Post subject: |
|
|
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 |
|
 |
jaco0646
Joined: 07 Oct 2006 Posts: 3113 Location: MN, USA
|
Posted: Wed May 13, 2009 12:08 am Post subject: |
|
|
| Post your code. Then explain which part you want to stop and which part should keep running. |
|
| Back to top |
|
 |
JohnnyTwoTone
Joined: 10 May 2009 Posts: 45
|
Posted: Wed May 13, 2009 4:50 am Post subject: |
|
|
esc::
reload
return |
|
| Back to top |
|
 |
|