I have 2 copies of WoW running on 1 computer. I have successfully managed to use HotKeyNet and AutoHotKey to send the "jump" key to each window etc, but I cannot figure out how to send the WASD movement keys.

So for example with AutoHotKet (this doesnt seem to send "a" to every copy if I hold down "a" for example to make the character turn left continuously. Any ideas?:

Code:
~a::
KeyWait a, D
WinGet, Active_Window, ID, A
IfWinActive, World of Warcraft
{
	If(%killbroadcast% = 0)
	{
		Loop, %wowid%
		{
			target_window := wowid%A_index%
			If (Active_Window <> target_window)
			{
				ControlSend,, a, ahk_id %target_window%
			}
		}
	}
}
Return