Say for example I have a window/game opened, but in background. I basically start the game, then hit ALT+TAB to switch to a web browser, but I want to send every 30 seconds a combination of keystrokes, so I'm not detected as idling. That would be considering that the game doesn't check first that the "window" is not foreground which I will presume is not checked.
Is this possible? Is there any script already working?
Send keystrokes to a windows that is running in background
Re: Send keystrokes to a windows that is running in background
Hallo,
sending keyboard input to a window running in the background is possible with ControlSend.
If your game accepts these simulated keystrokes you have to try it out.
https://www.autohotkey.com/docs/commands/ControlSend.htm
sending keyboard input to a window running in the background is possible with ControlSend.
If your game accepts these simulated keystrokes you have to try it out.
https://www.autohotkey.com/docs/commands/ControlSend.htm