Probably getting sick and tired of these. The below script runs perfectly fine as long as the chrome window I am wishing to run this is is active.
How do I get this to function without the target window or tab being active? I use F9 to retrieve the name of the browser window.
Code: Select all
F9::
if !init
{
WinGetActiveTitle, winid
init := F
}
loop
{
ControlSend,,{ty}, %winid%
sleep 500
ControlSend,,{glhf}, %winid%
sleep 3450
ControlSend,,{gg}, %winid%
sleep 2150
}
Esc::ExitApp