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
4
Posts: 4301 | Subs: 2
27 Feb 2023, 15:06 PM
#2
Posts: 1302
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
1
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
88 | |||||
57 | |||||
51 | |||||
33 | |||||
43 | |||||
2 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.968562.633+23
- 2.555227.710+11
- 3.28843.870+2
- 4.275110.714+13
- 5.249134.650+2
- 6.259143.644+3
- 7.249150.624+10
- 8.19265.747+5
- 9.14138.788+16
- 10.506.893-1
Replay highlight
VS
- cblanco ★
- 보드카 중대
- VonManteuffel
- Heartless Jäger
Einhoven Country
Honor it
7
Download
735