Jump to content

Recommended Posts

Posted

I'm aware that you can search for a pixel of a certain color.

However I need to search for a block of pixels (a small picture) and then click on it - is this possible to achieve with autoit?

Posted

I know that you can search for a pixel in a block of pixels however I need to search for a block of pixels

And we know what you are asking for but both answers mentioned here are ways how to achieve it :D

Posted

And we know what you are asking for but both answers mentioned here are ways how to achieve it

The second answer doesn't suit me - it takes too long (1.5 - 4 seconds wtf?)

The first post is a link to PixelSearch, well I've read that it's not an answer. That only allows me to search a block of pixels for a certain colour.

Posted (edited)

The second answer doesn't suit me - it takes too long (1.5 - 4 seconds wtf?)

Did you read the linked tread? Those times are for searching the whole screen. If you can restrict the area you search for a match it very much quicker. I very much doubt you will find a significantly faster method using AutoIt. Looking for an image within a image requires a lot of individual comparisons to be made. 

Edited by Bowmore

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to build bigger and better idiots. So far, the universe is winning."- Rick Cook

Posted

The second answer doesn't suit me - it takes too long (1.5 - 4 seconds wtf?)

The first post is a link to PixelSearch, well I've read that it's not an answer. That only allows me to search a block of pixels for a certain colour.

If the solutions that exist doesn't fit you, then create your own. In this case, learn C or whatever, create a dll and call it from AutoIt.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...