So... I've read other threads similar to this and it all seems to be for game clients, not web browsers. I play a browser mmo game, and I'd like my buffer to spam heal while that particular browser is minimized, so I can use my PC instead of having to leave the buffer window open until I'm done. I've tried this script I copied but it didn't work when I minimized the browser, it only worked on whatever window is open at the time of use.
I'm seeking for help to modify the script, so that I can leave my browser minimized while spamming heal, which is the "5" key. Thanks!
init := 1
SetTimer, PressTheKey, % (t:=!t) ? 1 : "Off"
ControlSend,, 5, %winid%