I'd love to try it out, but unfortunately I don't seem to get the script working.
^a::a
..in Autohotkey does not work. How did you bind it?
Here is what I use:
#SingleInstance force
#NoEnv
SetBatchLines, -1
sendMode, Input
return
#if !GetKeyState("LCtrl", "P") && WinActive("Company Of Heroes 2")
w::Up
a::Left
s::Down
d::Right
#if WinActive("Company Of Heroes 2")
*<^w::sendInput {Blind}{LCtrl Up}w{LCtrl Down}
*<^a::sendInput {Blind}{LCtrl Up}a{LCtrl Down}
*<^s::sendInput {Blind}{LCtrl Up}s{LCtrl Down}
*<^d::sendInput {Blind}{LCtrl Up}d{LCtrl Down}
RShift::Suspend
Pressing LCtrl + W/A/S/D will default your WASD keys to their normal functions.
Pressing RShift will suspend the script, this is useful when messaging teammates etc.