I just cant figure it out =( All I can get to work is this:

[code:1]~1::
KeyWait, 1, D
#IfWinActive, World of Warcraft
{
ControlSend,, 1, ahk_id %wowid1%
ControlSend,, 1, ahk_id %wowid2%
}
Return
[/code:1]

What I'd like is to be able to click something and send something else so another window. Like If I like shift 2, That would return 2 to window 2 and nothing to window 1.

I tried to bind space to both windows but it didnt work either.

~space::
KeyWait, space, D
#IfWinActive, World of Warcraft
{
ControlSend,, space, ahk_id %wowid1%
ControlSend,, space, ahk_id %wowid2%
}
Return
When I do this only 1 of them jumps and wierd things happen. Open spell book, sit down etc. Like all keys were pressed.

If someone would just provide me with something that I can copy and paste I'll be happy. I doubt I'll ever be able to learn how this works :S.

Thanks!