Jump to content

Recommended Posts

Posted

Hi,

I'm new to Autoit and I try to use the ConstrolSend function with a game. It works when the window is active but when I click another window it stops. 

Here is a part of my code:

Global $hwnd = WinGetHandle("[CLASS:GLFW30]")
ControlSend($hwnd , "", $hwnd, "string")

Can someone tell me what is wrong ? 😘

  • Moderators
Posted

What's wrong is you have not bothered to read the forum rules. I suggest you do so now, especially the part on game automation, and you'll see why this thread is locked.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Guest
This topic is now closed to further replies.
×
×
  • Create New...