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

PixelSearch Accuracy

$
0
0
Hello everyone.

I've been using the pixelsearch function like this:

Do
	  PixelSearch(StartX,StartY,EndX,EndY,Color)
Until @error = False


It's only searching for one pixel at a time and I have aero disabled. I'm not having any problems, it's just that sometimes it takes longer for AutoIt to react to success than other times.

For instance, if I time how long it takes for PixelSearch to complete it sometimes varies from 25ms - 50ms. Is there a better way to make a pixelsearch loop or a better function to achieve accuracy? I'm looking for accuracy from about 25ms - 30ms (+/- 5ms. I don't really care how long it takes. It could take 500ms, and I wouldn't care, but I need it to be accurate. I don't care about speed.)

Thanks!

Viewing all articles
Browse latest Browse all 12506

Trending Articles



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