I'm trying to send input from an AutoIt script to a game. I used Spy++ and when I press W it receives:
But when I use Send("w")
or any other method that simulates input (ControlSend()
, MouseClick()
, ControlClick()
) it receives nothing. I also tried SendMessage
, PostMessage
and SendInput
in C#.
I tried it on Notepad and Chrome and that worked just fine. Could the developers block these methods so the game doesn't receive the events?