| View previous topic :: View next topic |
| Author |
Message |
akubly Guest
|
Posted: Tue Oct 13, 2009 5:06 am Post subject: Pausing a running script |
|
|
So I've been writing scripts for a few hours, and I've come across a problem.
According to the FAQ: +p::pause should pause my script, but instead it seems to keep the script from running all together.
Am i making this declaration in the wrong place?
any advice would be great, thanks |
|
| Back to top |
|
 |
Guest
|
Posted: Tue Oct 13, 2009 5:11 am Post subject: |
|
|
| pause the script is exactly what it meant, it will pause all the codes running inside ur script until u unpause it |
|
| Back to top |
|
 |
akubly Guest
|
Posted: Tue Oct 13, 2009 5:13 am Post subject: |
|
|
| Alright, but pressing shift + p does not resume my script, I probably should have stated that earlier |
|
| Back to top |
|
 |
Guest
|
Posted: Tue Oct 13, 2009 5:57 am Post subject: |
|
|
it should work, and it does work here
show us ur script |
|
| Back to top |
|
 |
temp01
Joined: 09 Jul 2009 Posts: 120
|
Posted: Tue Oct 13, 2009 2:23 pm Post subject: Re: Pausing a running script |
|
|
| akubly wrote: | | Am i making this declaration in the wrong place? |
Most likey, yes: | Scripts - Auto-execute Section wrote: | | After the script has been loaded, it begins executing at the top line, continuing until a Return, Exit, hotkey/hotstring label, or the physical end of the script is encountered (whichever comes first). |
|
|
| Back to top |
|
 |
mstorey20
Joined: 21 Sep 2009 Posts: 10
|
Posted: Tue Oct 13, 2009 4:29 pm Post subject: |
|
|
Yep, I wondering what the script is and whether we need to pause or suspend the script or whether it should be handled with returns _________________ StoreyQuickNotes - An AutoHotkey Project for Radiation Oncology |
|
| Back to top |
|
 |
NINOH
Joined: 13 Oct 2009 Posts: 21
|
Posted: Tue Oct 13, 2009 5:23 pm Post subject: |
|
|
just add
anywhere to the script but make sure that it is not inside of the script that you are writing. place it at the bottom of the text file and make sure that there is a return at the end of your script. |
|
| Back to top |
|
 |
|