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: 1379
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
84 | |||||
43 | |||||
26 | |||||
17 | |||||
8 | |||||
7 | |||||
0 | |||||
640 | |||||
24 | |||||
18 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.653231.739+13
- 2.838223.790+1
- 3.35057.860+15
- 4.590233.717+6
- 5.278108.720+29
- 6.306114.729+2
- 7.645.928+5
- 8.922406.694+1
- 9.1118621.643-1
- 10.265138.658+2
Replay highlight
VS
- cblanco ★
- 보드카 중대
- VonManteuffel
- Heartless Jäger
Einhoven Country
Honor it
10
Download
1243
Board Info
719 users are online:
719 guests
0 post in the last 24h
2 posts in the last week
28 posts in the last month
2 posts in the last week
28 posts in the last month
Registered members: 49388
Welcome our newest member, KETTA
Most online: 2043 users on 29 Oct 2023, 01:04 AM
Welcome our newest member, KETTA
Most online: 2043 users on 29 Oct 2023, 01:04 AM