Okay, here's the script I'm attempting to use with AutoHotKey, to simply send the F1-F6 keybinds to both characters. What am I doing wrong here? Any help is appreciated = D

Code:
WinGet, wowid, List, World of Warcraft

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

WinGet, wowid, List, World of Warcraft

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

WinGet, wowid, List, World of Warcraft

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

WinGet, wowid, List, World of Warcraft

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

WinGet, wowid, List, World of Warcraft

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

WinGet, wowid, List, World of Warcraft

~F6::
KeyWait, F6, D
IfWinActive, World of Warcraft
{
ControlSend,, F6, ahk_id %wowid1%
ControlSend,, F6, ahk_id %wowid2%
Return
}
Edit: figured it out. For whatever reason, the opening script that comes with AHK was interfering with things =D I also only needed the WinGet, wowid... line at the start.