jl32 Posted August 7, 2016 Posted August 7, 2016 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.
InunoTaishou Posted August 7, 2016 Posted August 7, 2016 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now