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 

Multi-threading? Don't quite understand it.

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



Joined: 13 Feb 2008
Posts: 7

PostPosted: Wed Feb 13, 2008 10:31 am    Post subject: Multi-threading? Don't quite understand it. Reply with quote

I don't wanna do anything fancy. Just want to be able to pause a currently running function (by simply calling the Pause command) by pressing the Win+P key. I believe I need multi-threading for this. I can't seem to figure out how though. Can someone please post the code? Would really appreciate it.
_________________
Areeb Bajwa
Back to top
View user's profile Send private message
TheIrishThug



Joined: 19 Mar 2006
Posts: 381

PostPosted: Wed Feb 13, 2008 1:20 pm    Post subject: Reply with quote

To pause an entire script:
Code:
#p::Pause

As for multi-threading, AutoHotkey has functionality to mimic the effect of Threads.
Back to top
View user's profile Send private message Visit poster's website AIM Address
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