and the key i put triggered on certain sends including controlsend but once i run my script it doesnt work with game and several other apps (like with sublime text while in notepad everything is ok)
one thing, my script was working very 1st couple tries, not properly but still was sending damn control, with Send'n'Click Tool it was proper except dat keepin window on top.
couple strings.. it was workin.. wut a magic
Code: Select all
q::
winGet, winID, pid, A
loop
{
ControlSend, , {a}, ahk_pid %winID%
Sleep 200
ControlSend, , {b}, ahk_pid %winID%
Sleep 200
}
return
pause::pause
end::exitapp