AutoHotkey Community

It is currently May 27th, 2012, 8:18 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: January 24th, 2012, 7:27 pm 
Offline

Joined: December 13th, 2011, 6:22 pm
Posts: 26
So, I want to have 2 scrips running at same time.
Script A: uses the mouse often and rarelly the keyboard.
Script B: uses often the keyboard and the mouse rarelly.

I would like to have both working at same time but, when Script A needs to use the Keyboard, Script B won't use the keyboard (but can still use the mouse), and when Script A needs to use the Mouse, Script B won't be able to use the mouse (but can still use the keyboard).
So in short, I just want to stop a certain action in a script instead of stopping the whole script

I don't know if I explained myself well, but is it possible? if yes can I have some tips on how to do it?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 24th, 2012, 8:41 pm 
Offline

Joined: January 29th, 2009, 9:50 pm
Posts: 483
Location: Belgium
Quote:
but is it possible? if yes can I have some tips on how to do it?
yes it is, with wm_copydata you comunicate between scripts
http://www.autohotkey.com/docs/commands/OnMessage.htm

_________________
Stopwatch emdkplayer
the code i post falls under the: WTFYW-WTFPL license


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: BrandonHotkey, hyper_, immunity, migz99, sjc1000 and 68 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group