Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Pixel Search

$
0
0
I'm trying to make it click in a program when there is red in the rectangle, I have tried using reds taken from the program and pure red and I can't get it to click unless shade-variation is so large it clicks no matter what.

$pixel = PixelSearch ( 390, 340, 410, 343, 0xFF0000, 100)
   Local $i = 0
   Do
   If IsArray($pixel) = True Then
   MouseClick("left")
   Sleep(80)
   EndIf
   Until $i = 1


Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>