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 

Sending key space to 5 different instances simultaneously

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



Joined: 27 Oct 2006
Posts: 481

PostPosted: Sat Nov 21, 2009 1:34 pm    Post subject: Sending key space to 5 different instances simultaneously Reply with quote

... via SendMessage or using another technique.

Imagine I have started 5 instances of application A, then when I am working in application B and press there space, I would like to send this space key input also at the same time to all the other 5 instances of A.

Any suggestions? From which aspects of application A would this depend on? Is it possible to create a solution which would work with any kind of application A where you are allowed to run 5 instances simultaneously?
Back to top
View user's profile Send private message
[VxE]



Joined: 07 Oct 2006
Posts: 2342

PostPosted: Sat Nov 21, 2009 7:18 pm    Post subject: Reply with quote

try searching the forums for the term "multiboxing". The typical method to do as you describe is with ControlSend. Getting handles to multiple instances of a window with the same name is just a matter of WinGet,, List,.
_________________
My Home Thread
Common Answers: [1]. It's in the FAQ [2]. Ternary ( a ? b : c ) guide [3]. Post code inside [code][/code] tags !
Back to top
View user's profile Send private message
automaticman



Joined: 27 Oct 2006
Posts: 481

PostPosted: Mon Nov 23, 2009 10:33 am    Post subject: Reply with quote

Thanks my friend, it worked greatly.
Back to top
View user's profile Send private message
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