#IfWinActive, Company Of Heroes
It should usually have the exact name of the application that also appears in the task manager. For CoH2 it should therefore be
Code
#IfWinActive, Company Of Heroes 2
if i am not mistaken (writing from work)
Also, i would assign a new key for w, if you use it for q. easiest would be to just swap them.