Jump to content

ImageAreaSearch Explanation


Recommended Posts

Hi, I found this post  and I'm struggling very hard with the ImageAreaSearch Function.

_ImageAreaSearch($picReference,1,800,40,900,80,$x,$y,0)

Am I understanding it correctly that the 800 & 40 value declares the position where to start searching the image?

And 900 & 80 is it the offset right & bottom or is it more like the width and height searching area?

(Would be nice to have a visual example without code)

Link to comment
Share on other sites

What is your reason for image search? You are MUCH better off just hooking into the control in question. Pixel searching is very unstable and will frequently fail. You may want to look at this: https://www.autoitscript.com/forum/topic/153520-iuiautomation-ms-framework-automate-chrome-ff-ie/

 

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...