Hi, I would like to create a program that would do something like this:
Check color in x-212 y-157 and if color = white click here(x,y), but if not - click (x,y) and check again color in x-212 y-157, check color untill = white
I've got something like this but it doesn't work
:confused:
Check color in x-212 y-157 and if color = white click here(x,y), but if not - click (x,y) and check again color in x-212 y-157, check color untill = white
I've got something like this but it doesn't work
:confused:
Code:
$iTargetColor = 0xFFFFFF
$color = PixelGetColor(122, 104)
If $iTargetColor<>$color Then
MouseClick("primary", 686, 583)
ExitLoop 2
Else
MouseClick("primary", 755, 618)
EndIf