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 

a stop button a one continue

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



Joined: 02 Oct 2009
Posts: 6

PostPosted: Mon Oct 12, 2009 11:07 pm    Post subject: a stop button a one continue Reply with quote

I've made a script that run 14 loop
it works the way I want it to

but if I need to stop then I start all over again with script

and it takes time

it's a possible to make a stop shortcut
"Just as the starting # g::

which stops the script and get it to start again from where it was?

and

can make a MsgBox which can launch the script in a loop from 1-14
ie
If I do not need to run every loop
but will start in loop 5, for example
Back to top
View user's profile Send private message
Frankie



Joined: 02 Nov 2008
Posts: 2850

PostPosted: Mon Oct 12, 2009 11:45 pm    Post subject: Reply with quote

I think you're looking for the Pause command.

Code:
#g::Pause


Press #g once to pause, press it again to have your script continue.
_________________
aboutscriptappsscripts
Any code ⇈ above ⇈ requires AutoHotkey_L to run
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