Maybe you've had this fixed, it has been a while, haha, anyway try this.
Code:$i = 0 While $i <= 10 $coord = PixelSearch(840, 243, 877, 595, 11406396) If Not @error Then MouseClick("primary", 793, 670) EndIf WEnd
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,
Code:$i = 0 While $i <= 10 $coord = PixelSearch(840, 243, 877, 595, 0xAE0C3C) If Not @error Then MouseClick("primary", 793, 670) EndIf WEnd
[IMG]https://i1132.photobucke*****m/albums/m571/JusCausGraphix.jpg[/IMG]
Maybe you've had this fixed, it has been a while, haha, anyway try this.
Code:$i = 0 While $i <= 10 $coord = PixelSearch(840, 243, 877, 595, 11406396) If Not @error Then MouseClick("primary", 793, 670) EndIf WEnd
Wouldn't let me post with the (at) symbolCode:$i = 0 While $i <= 10 $coord = PixelSearch(840, 243, 877, 595, 0xAE0C3C) If Not (at)error Then MouseClick("primary", 793, 670) $i=11 ;break out of the while-loop EndIf WEnd
Last edited by Skullz420; 03-03-2014 at 11:50 PM.