Code: Select all
#SingleInstance, Force
#NoEnv
SetBatchLines, -1
SendMode Input
SetKeyDelay, -1, -1
SetWinDelay, -1
SetControlDelay, -1
SetMouseDelay, -1
SetDefaultMouseSpeed, 0
SetTimer, Paral, 11
Insert::
pause
return
Paral:
If WinActive, windowname
{
PixelSearch, Px, Py, 1713, 322, 1911, 396, 0x931305, 0, Fast
If ErrorLevel=0
{
Send, {F5}
KeyWait, F5
Sleep, 100
return
}
Else
{
Sleep, 100
return
}
}
return