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: 1321
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
23 | |||||
15 | |||||
3 | |||||
1 | |||||
208 | |||||
22 | |||||
3 | |||||
2 | |||||
1 | |||||
0 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.270144.652+2
- 2.278110.716+16
- 3.558230.708+2
- 4.422.955+12
- 5.253150.628+14
- 6.8120.802-1
- 7.19078.709+4
- 8.399200.666+8
- 9.13556.707+3
- 10.971569.631-3
Replay highlight
VS
- cblanco ★
- 보드카 중대
- VonManteuffel
- Heartless Jäger
Einhoven Country
Honor it
7
Download
786