ControlSend key press not working in Game

Ask gaming related questions (AHK v1.1 and older)
httzip
Posts: 1
Joined: 13 Mar 2019, 22:34

ControlSend key press not working in Game

13 Mar 2019, 23:12

(Sorry for my bad english )

Hi guys ,

i'm having a problem with the ControlSend for my Game (DreamAce) .
Im using ControlSend to automatic press a key in inactive window , like this :

Code: Select all

SendMode Play
PGUP::
SetKeyDelay,, 2000
ControlFocus, DreamACE, ahk_pid 10088
Loop
{
ControlSend,ahk_parent,{9 down}{0 down}, ahk_pid 10088
;Send {9 down}{0 down}
Sleep 1900
}
return

PGDN::
Reload
return
The problem is ControlSend is just works in chatbox (auto typing ) but not auto pressing , if i change ControlSend to Send , it works , but just for actived window . So , please help me , I've searched many many times and many websites but doent have the solution for this .
- in chatbox : https i.imgur.com /e7VBOlu.png Broken Link for safety

Thank You !

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 148 guests