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 stop a constant loop?

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



Joined: 27 Nov 2007
Posts: 7
Location: Arkansas

PostPosted: Tue Nov 27, 2007 2:34 pm    Post subject: How to stop a constant loop? Reply with quote

I want to have a macro work while I sleep, but I'm going to need to bind a key to release the keyboard and mouse for when I wake up. I didn't have time to test any of my ideas, but I don't think binding a key to return will do any good, so I'm just going to post here.


loop
{
code
;binding to release the loop
}
;binding to release the loop

I don't know where it should be located, so any help would be appreciated. I've been playing with ahk for a whopping one day now Razz
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Ripper



Joined: 24 Oct 2007
Posts: 17
Location: Germany

PostPosted: Tue Nov 27, 2007 3:42 pm    Post subject: Reply with quote

http://de.autohotkey.com/forum/viewtopic.php?t=2169&start=15
Back to top
View user's profile Send private message
mr noobert



Joined: 22 Nov 2007
Posts: 3
Location: Corinth, Mississippi

PostPosted: Tue Nov 27, 2007 5:37 pm    Post subject: Reply with quote

I just use this.

<hotkey>::reload

I use `::reload

This way I can easily stop all scripts and after I edit a script I can save and reload without all that clicking.
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   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