send to an inactive window, controlsend not working?

Ask gaming related questions (AHK v1.1 and older)
User avatar
Puma
Posts: 8
Joined: 11 Oct 2018, 14:50

send to an inactive window, controlsend not working?

17 Oct 2018, 19:42

hey quick question
i have been trying to send to an inactive window and i was successful in getting it to work for notepad
but it wont work in the game i am playing
it doesnt have gamer guard

this is my notepad example that works

Code: Select all

p::
ControlSend,Edit1, this is my test,hey sir.txt - Notepad
return

this is the code that doesnt work, althought if i focus the window it does?? but am trying to use it unfocused thats the whole point.

Code: Select all

p::
ControlSend,SunAwtCanvas1, {space}, Secret
return
User avatar
Puma
Posts: 8
Joined: 11 Oct 2018, 14:50

Re: send to an inactive window, controlsend not working?

18 Oct 2018, 03:14

Code: Select all

p::
ControlFocus,SunAwtCanvas1,Secret
ControlSend,SunAwtCanvas1, {space}, Secret

return
ControlFocus was required to make it work!

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 52 guests