Sorry sorta a noob but how do you type in in the script ?( Like this?

~f::/follow

#IfWinActive, World of Warcraft

{

ControlSend,, f, ahk_%wowid1%

ControlSend,, f, ahk_%wowid2%

}

Thanks.