Code: Select all
LAlt::
Loop
{
Sleep 1000
PixelSearch, Px, Py, 430, 60, 1210, 850, 51A9DA, 5, Fast
if ErrorLevel
MsgBox, That color was not found in the specified region.
else
click %Px%, %Py%
Sleep 5000
}
Esc::ExitApp
Code: Select all
LAlt::
Loop
{
Sleep 1000
PixelSearch, Px, Py, 430, 60, 1210, 850, 51A9DA, 5, Fast
if ErrorLevel
MsgBox, That color was not found in the specified region.
else
click %Px%, %Py%
Sleep 5000
}
Esc::ExitApp
Users browsing this forum: No registered users and 83 guests