Currently using autohotkey and would like it to be able to move just my 2nd wow window charcacter up a bit.

Autohotkey code is

~Up
KeyWait Up
IfWinActive, World of Warcraft
{
ControlSend,, Up, ahk_id %wowid2%
Return
}

and currently have the 2nd bind key to the up arrow key, however, If I'm in the 1st window I cannot get the 2nd window to move. Any suggestions