Im using hotkey for macro playing games whilst working, So I'm trying to figure out how to loop key presser that will send to specific window while I still can use the computer.
Here's my current script:
Code: Select all
^6::
Loop
{
ifWinExist, "ahk_pid 14736"
ControlSend,, 2, "ahk_pid 14736"
Return
}
^7::pause
[Mod edit: Added [code][/code] tags. Please use them yourself when posting code.]
[Mod action: Topic moved from "Tutorials (v2)" since this is v1 code and it is not a turtorial but rather a request for help.]