Is anyone using autohotkey for Coh3 yet?
I used to with CoH2, and my script used to start with:
"#IfWinActive, Company Of Heroes 2"
I made a new script that starts with:
"#IfWinActive, Company Of Heroes 3", but it does not seem to work.
Does anyone have an idea what I have to change?
P.S. the full script that I want is just:
"#IfWinActive, Company Of Heroes 3
XButton1::Numpad0
F1::7
F2::8
F3::9
F4::0"
CoH3 Autohotkey help
27 Feb 2023, 00:40 AM
#1


Posts: 4301 | Subs: 2
27 Feb 2023, 15:06 PM
#2

Posts: 1387
XButton1::Numpad0
Ahh. Good old mouse4 as the tacmap. I, too, was trying to fiddle around with autohotkey. Then I remembered that they added rebinding keys to the game, so I just gave up and rebound my keys.
27 Feb 2023, 19:20 PM
#3


Posts: 247 | Subs: 2
Yes, with the simplicity of your script, I would follow the advice above 

1 Mar 2023, 15:13 PM
#4


Posts: 830 | Subs: 3
Yes, I always use AutoHotkey because it's useful for me not only for games. ^^
Like donofsandiego said, you can remap keys in the game option now.
"#IfWinActive, Company Of Heroes 3" doesn't work because CoH3 windows named "Company of Heroes 3" not "Company Of Heroes 3". I made also this mistake lol
You should use AutoHotkey v2.x now it's released.
Your script:
Like donofsandiego said, you can remap keys in the game option now.
"#IfWinActive, Company Of Heroes 3" doesn't work because CoH3 windows named "Company of Heroes 3" not "Company Of Heroes 3". I made also this mistake lol
You should use AutoHotkey v2.x now it's released.
Your script:
Code
SendMode "Input" ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir A_InitialWorkingDir ; Ensures a consistent starting directory.
SetKeyDelay 50, 50
#HotIf WinActive("ahk_exe RelicCoH3.exe") ; Hotkeys enable only when CoH3 windows is focus/in the foreground
XButton1::Numpad0
F1::7
F2::8
F3::9
F4::0
#HotIf
PAGES (1)

1 user is browsing this thread:
1 guest
Livestreams
![]() |
![]() |
![]() |
48 | ||
![]() |
![]() |
![]() |
665 | ||
![]() |
![]() |
![]() |
40 | ||
![]() |
![]() |
![]() |
6 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.42463.871+2
- 2.659233.739+2
- 3.300162.649+1
- 4.12543.744+3
- 5.286110.722-2
- 6.312114.732+8
- 7.193100.659+3
- 8.10829.788+9
- 9.1171650.643+2
- 10.725443.621-2
Replay highlight
VS
-
cblanco ★
-
보드카 중대
-
VonManteuffel
-
Heartless Jäger

Einhoven Country

Honor it
13

Download
1321
Board Info
916 users are online:
916 guests
1 post in the last 24h
6 posts in the last week
42 posts in the last month
6 posts in the last week
42 posts in the last month
Registered members: 51866
Welcome our newest member, Spansk88
Most online: 2043 users on 29 Oct 2023, 01:04 AM
Welcome our newest member, Spansk88
Most online: 2043 users on 29 Oct 2023, 01:04 AM