Code: Select all
F8::suspend
F6::pause
*~$F7::
CoordMode, Pixel, Screen
SendMode Input
{
Sleep, 0025
Send, {LButton Down}
Sleep, 1000
Send, {LButton Up}
Sleep, 2500
{
PixelGetColor, cz, 900, 760
PixelSearch, px, py, 920, 750, 920, 750, %cz%, 1, Fast
while(ErrorLevel != 0)
{
Sleep, 0050
Send {LButton}
Sleep, 0030
}
}
}
return