billshu Posted April 19, 2016 Posted April 19, 2016 Does anyone have experience with transparency on _ImageSearch? The code attached finds the image "base.bmp" but at position 0,0 not near the center of the screen as it appears. My goal is to find the Big Blue "G" regardless of the background. I have not yet found the base image, so I have not tested changing the background. Do you have to use image formats that support transparency? If so, how would you capture the image from within autoit code and set the transparency color? Test1.au3 ImageSearch.au3 base.bmp
AutoBert Posted April 19, 2016 Posted April 19, 2016 Play with param tolerance, but there are better ways to automate a app than imagesearch? So, which app?
billshu Posted April 20, 2016 Author Posted April 20, 2016 Thanks for the comment. If I can't get transparency to work, i will try more with tolerance, but tolerance is difficult if the background changes a lot.
AutoBert Posted April 20, 2016 Posted April 20, 2016 And don't forget mousecoursor is also on screen, so when it's no game just just name the app.
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