It works perfectly while the game is active/maximized however I'd like to be able to have this run in the background by itself without interfering with other things I have to do.
Here is the code for the simple loop:
loop, 1000
{
random, delay, 2000, 5000
send, 9
sleep, %delay%
}
return
end::exitappNow I just need someone who can help me integrate that code into something that can make it run in an inactive window.
I've been suggested to use controlsend, however I'm not sure how to place the current with that.
If anyone has any ideas or can help, please let me know.




