Controlsend insanity. HELP, Im going crazy over here

Ask gaming related questions
Gramrock
Posts: 2
Joined: 02 Jul 2020, 16:25

Controlsend insanity. HELP, Im going crazy over here

02 Jul 2020, 16:31

So for the life of me, I simply cant make this work for a window that is NOT in focus.

WORKS FINE:
SetKeyDelay, 50, 100
ControlSend,, {Enter}, ahk_exe WAR-64.exe

DOESNT WORK
SetKeyDelay, 50, 100
ControlSend,, {4 down}{4 up}, ahk_exe WAR-64.exe



My plan is to simply send several keystrokes like: "442x1114f" to a Warhammer Online.

If i use something like:
SetKeyDelay, 50, 100
ControlSend,, {Enter}testlol, ahk_exe WAR-64.exe

I can see the word testlol in my chatwindow BUT I cannot send those buttons just as keystrokes...

What am i doing wrong? I am trying this for 3 hours now and im about to go full kurt cobain soon... PLEASE HELP!
Last edited by BoBo on 02 Jul 2020, 17:02, edited 1 time in total.
Reason: Moved to Gaming section.
gregster
Posts: 4639
Joined: 30 Sep 2013, 06:48

Re: Controlsend insanity. HELP, Im going crazy over here

03 Jul 2020, 00:35

Gramrock wrote:
02 Jul 2020, 16:31
If i use something like:
SetKeyDelay, 50, 100
ControlSend,, {Enter}testlol, ahk_exe WAR-64.exe

I can see the word testlol in my chatwindow BUT I cannot send those buttons just as keystrokes...
It's not clear what the problem is. So, it is sending the key, right? Or are you saying, it's sending the keys too fast?
Well, ControlSend only obeys to SetKeyDelay, if SendMode Input is not used.
Gramrock
Posts: 2
Joined: 02 Jul 2020, 16:25

Re: Controlsend insanity. HELP, Im going crazy over here

03 Jul 2020, 04:50

when I use this code:
SetKeyDelay, 50, 100
ControlSend,, {Enter}a, ahk_exe WAR-64.exe

this happens: https i.ibb.co /VCF1Yt5/01.jpg Broken Link for safety

the enter buttons prompts the chat inout at the buttom left hand side and types in an "a".

if I however use anythink like
SetKeyDelay, 50, 100
ControlSend,, {b down}, ahk_exe WAR-64.exe

or
SetKeyDelay, 50, 100
ControlSend,, {b}, ahk_exe WAR-64.exe

or
SetKeyDelay, 50, 100
ControlSend,, b, ahk_exe WAR-64.exe

nothing happens... The "b" key opens up the bags for example...

So the input is somehow send but only if i activate the chat input by pressing enter...
I hope I could explain it a bit better :)

Any idea? Adude form Reddit said thta the game might block Autohotkey, but the game is from 2007 and I highly doubt that since it apparently works...

Return to “Gaming”

Who is online

Users browsing this forum: No registered users and 19 guests