Login

russian armor

Autohotkey doenst work -.-

14 Sep 2021, 12:01 PM
#1
avatar of mirko_786

Posts: 15

Hey Guys,

my Autohotkey setting doenst work anymore, idk why....

#IfWinActive, Company Of Heroes 2
XButton1::Numpad0

Return


Is that correct? Thanks a lot
14 Sep 2021, 13:42 PM
#2
avatar of donofsandiego

Posts: 1378

I have basically the same script and it works fine. I'll edit this comment with a copy my script when I get a chance.
14 Sep 2021, 14:40 PM
#3
avatar of mirko_786

Posts: 15

I have basically the same script and it works fine. I'll edit this comment with a copy my script when I get a chance.


okay thank you I m waiting for :)
14 Sep 2021, 15:28 PM
#4
avatar of JibberJabberJobber

Posts: 1614 | Subs: 3

You could try:

SetTitleMatchMode, 2
#IfWinActive, Company Of Heroes

XButton1::Numpad0


Also don't think return is needed here? Don't quote me on it tho.
14 Sep 2021, 15:33 PM
#5
avatar of Leodot

Posts: 254

Hey Guys,

my Autohotkey setting doenst work anymore, idk why....

#IfWinActive, Company Of Heroes 2
XButton1::Numpad0

Return


Is that correct? Thanks a lot


this is mine:


#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
#IfWinActive, Company Of Heroes 2
%::Numpad0
$:: Suspend
+$:: Suspend
Return
14 Sep 2021, 16:16 PM
#6
avatar of JibberJabberJobber

Posts: 1614 | Subs: 3

Want to mention you should definitely use SendMode Input with coh2 on top of the script like above post has, I had some annoying issues without it.

You can also add an asterisk * before a certain rebind, this assures it works even if you hold down a modifier key like shift/ctrl/alt, as such:

*XButton1::Numpad0
15 Sep 2021, 15:34 PM
#7
avatar of mirko_786

Posts: 15

You could try:

SetTitleMatchMode, 2
#IfWinActive, Company Of Heroes

XButton1::Numpad0


Also don't think return is needed here? Don't quote me on it tho.


Sorry I forgot, I insert "return" in the last row.
15 Sep 2021, 15:41 PM
#8
avatar of mirko_786

Posts: 15

@Leodot, thank you I tried with ur config, but no succsess. hmm

But with "*" before the input command it works fine. JUHUUUUU!!!


Thank you all for your help and @JibberJabberJobber GL in the 4on4 tourny!

Best regards :)
1 user is browsing this thread: 1 guest

Livestreams

unknown 10
Germany 1

Ladders Top 10

  • #
    Steam Alias
    W
    L
    %
    Streak
Data provided by Relic Relic Entertainment

Replay highlight

VS
  • U.S. Forces flag cblanco ★
  • The British Forces flag 보드카 중대
  • Oberkommando West flag VonManteuffel
  • Ostheer flag Heartless Jäger
uploaded by XXxxHeartlessxxXX

Board Info

502 users are online: 502 guests
0 post in the last 24h
6 posts in the last week
38 posts in the last month
Registered members: 49060
Welcome our newest member, starkindustries
Most online: 2043 users on 29 Oct 2023, 01:04 AM