ControlClick, x200 y300, ahk_class Notepad,, left, 1, NA ; NA = no activate ControlSend, Edit1, Hello world, ahk_class Notepad
solve this by sending input messages directly to specific window handles. Multitasking: automatic mouse and keyboard background click portable
: Developers use these to simulate continuous user interaction to find memory leaks or crashes in background processes. Gaming and Simulations ControlClick, x200 y300, ahk_class Notepad,, left, 1, NA