Code: Select all
PixelSearch, FoundX, FoundY, 1186, 309, 1352, 525, 0xff0000, 0, Fast RGB
If (ErrorLevel = 0)
{
Send, {F1}
Sleep, 150
Send, {F2}
Sleep, 140
Send, {F3}
Sleep, 130
Send, {F4}
Sleep, 120
Send, {F5}
Sleep, 110
}