You can try something I did:

[code:1];Ctrl-# to suspend script activity
#IfWinActive, World of Warcraft
^SC029::Suspend[/code:1]

When you press CTRL-# (the button next to 1) it will tell AHK to suspend the script, allowing you to type normally. Repress it to reactivate.