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

PixelSearch problem

$
0
0

Hello, what should i change in this code to make it work?

    $firstpixel=PixelSearch(100,100,100,200,0xFFFFFF,0,0)        If Not @error Then         $secondpixel=PixelSearch(200,$firstpixel[1]200,$firstpixel[1],0xFFFFFF,0,0)            If Not @error Then              MsgBox(0, "X and Y are:", $pixel1[0] & "," & $pixel1[1])        EndIf     EndIf

I want the 2nd pixelsearch starts from the firstpixel[1] Y array but it keeps getting errors that firstpixel[1] is used without being declared or smthing like that.


Viewing all articles
Browse latest Browse all 12506

Trending Articles



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