PixelSearch Issues!
Ok guys.....
I am having problems with the PixelSearch.
I have my Coords of the BOX (area i want to search)
and my coords for where the mouse will click when the color is in the BOX area.....
The mouse will just click my specified area nonstop, no matter where the color i chose is....
Here is my code,
I am having problems with the PixelSearch.
I have my Coords of the BOX (area i want to search)
and my coords for where the mouse will click when the color is in the BOX area.....
The mouse will just click my specified area nonstop, no matter where the color i chose is....
Here is my code,
Code:
$i = 0 While $i <= 10 $coord = PixelSearch(840, 243, 877, 595, 0xAE0C3C) If Not @error Then MouseClick("primary", 793, 670) EndIf WEnd