Hello everyone.
I've been using the pixelsearch function like this:
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!
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!