Does check color check for characters with the same color?

2 posts in this topic

I am trying to click different characters that have the same color. For example, if "A", "B", and "C" were displayed on a page, would AutoIt be able to use a check color to distinguish between them and click the character I want it to click? If not, is there an AutoIt function that can?

Thanks for your help. 

Share this post

Link to post
Share on other sites

You can use imagesearch to search for the letter you want to click. If they're the same color then PixelSearch would just click the first letter found. You could define some regions to search using PixelSearch too. If you know A is in 0, 0, 30, 30 and B is in 30, 0, 60, 30 then you could search the corresponding regions.

Share this post

Link to post
Share on other sites

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