Send input to multiple game windows?
Send input to multiple game windows?
Hey. I'm literally brand new to this kind of stuff so bare with me. Long story short, I want to play multiple instances of a game at the same time, but moving every character individually to one place is a chore, so I'm looking for some simple way to take my movements from one window of the game, and do the same thing in every other window at roughly the same time. Even if it isnt AHK and its some other program thats fine. I just know a lot of people talk about using AHK for this stuff. Any help would be appreciated.
Re: Send input to multiple game windows?
Try:
WinGet
ControlSend
KeyWait
I'm just returning to AHK and too rusty to explain but if you read and search all of this will point you to the right way.
WinGet
ControlSend
KeyWait
I'm just returning to AHK and too rusty to explain but if you read and search all of this will point you to the right way.
Code: Select all
WinGet, GameWinId, List, Game Name
W::
KeyWait, W, D
ControlSend,, W, ahk_id %GameWinId1%
ControlSend,, W, ahk_id %GameWinId2%
ControlSend,, W, ahk_id %GameWinId3%
Return
A::
KeyWait, A, D
ControlSend,, A, ahk_id %GameWinId1%
ControlSend,, A, ahk_id %GameWinId2%
ControlSend,, A, ahk_id %GameWinId3%
Return
S::
KeyWait, S, D
ControlSend,, S, ahk_id %GameWinId1%
ControlSend,, S, ahk_id %GameWinId2%
ControlSend,, S, ahk_id %GameWinId3%
Return
D::
KeyWait, D, D
ControlSend,, D, ahk_id %GameWinId1%
ControlSend,, D, ahk_id %GameWinId2%
ControlSend,, D, ahk_id %GameWinId3%
Return
Who is online
Users browsing this forum: No registered users and 133 guests