Do FindColor 0, 0, 1024, 768, "0000FF|ff00ff", x, y If x > 0 And y > 0 Then MoveTo x, y Delay 100 LeftClick 1 End If Delay 100Loop