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

Pixel searching

$
0
0
; Find a pure lime green pixel or a green pixel within 10 shades variations of pure green
$coord = PixelSearch( 0, 0, 20, 300, 0x32CD32, 10 )
If Not @error Then
    MsgBox(0, "X and Y are:", $coord[0] & "," & $coord[1])
EndIf

 

I need this script modified to perform these actions

 

1. When the color is found, have script to begin again at a certain line

 

2. Get the script to pixel search every 30 seconds (if possible)

 

 

So It'd running part 1

line 1-100

 

Part 2 would be the pixel search, but I'd like the script to return to line 1 once the color is found

 

I'm sorry if this has been asked before.  I'm trying to figure it out myself, but I'm having a hard time piecing everything together.

 

Much appreciated.


Viewing all articles
Browse latest Browse all 12506

Trending Articles



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