I'm using ahk scripts to change my hotkeys, but mine stopped working somehow.
It's disabling as soon as I tab into CoH2.
Heres the content:
#IfWinActive, Company Of Heroes 2
{
;;;;;;;;;;;;; return enables normal chat
Return::
Suspend
if ( A_IsSuspended ){
Send {Enter}
}
if ( !A_IsSuspended ){
Send {Enter}
}
return
;;;;;;;;;;;;; shift + return enables normal chat
+Return::
Suspend
if ( A_IsSuspended ) {
Send +{Enter}
}
if ( !A_IsSuspended ) {
Send +{Enter}
}
return
;;;;;;;;;;;;; alt for tactical map
Lctrl::Numpad0
;;;;;;;;;;;;; disables "jump to newest event", adds release of wasd keys to "catch" camera when camera keys are stuck
Space:

;;;;;;;;;;;;; prevention of camera movement being stuck and lifting wasd keys also stop camera keys (WIP: key lose normal functionality)
;w up:

;s up:

;a up:

;d up:

;;;;;;;;;;;;; normal function
#if !GetKeyState("LCtrl", "P"")
{
w::Up
s:

a::Left
d::Right
}
}
I hope somebody can help me out!
Greetings!