Hello, I use AutoHotKey and I'm new to multiplexers or what not. The problem is I use the following script and it may work once but then the second time, say, I press the '2' key it doesn't go on both WoW applications like before (I am boxing 2 trial accounts to test boxing first). Please if anyone could help, that would be great. I use the following script: Just a simple 1-5 and space bar and it works once and then does not work again, I've tried this alot of times and it only works SOME times? This confuses me..thanks.

WinGet, wowid, List, World of Warcraft

~1::
KeyWait 1
IfWinActive, World of Warcraft
{
ControlSend,, 1, ahk_id %wowid1%
ControlSend,, 1, ahk_id %wowid2%
Return
}

~2::
KeyWait 2
IfWinActive, World of Warcraft
{
ControlSend,, 2, ahk_id %wowid1%
ControlSend,, 2, ahk_id %wowid2%
Return
}

~3::
KeyWait 3
IfWinActive, World of Warcraft
{
ControlSend,, 3, ahk_id %wowid1%
ControlSend,, 3, ahk_id %wowid2%
Return
}

~4::
KeyWait 4
IfWinActive, World of Warcraft
{
ControlSend,, 4, ahk_id %wowid1%
ControlSend,, 4, ahk_id %wowid2%
Return
}

~5::
KeyWait 5
IfWinActive, World of Warcraft
{
ControlSend,, 5, ahk_id %wowid1%
ControlSend,, 5, ahk_id %wowid2%
Return
}


~Space::
KeyWait Space
IfWinActive, World of Warcraft
{
ControlSend,, %A_Space%, ahk_id %wowid1%
ControlSend,, %A_Space%, ahk_id %wowid2%
Return
}