gerym Posted November 25, 2012 Posted November 25, 2012 The code of ImageSearchArea ( ImageSearch.au3 ) : _ImageSearchArea($findImage,$resultPosition,$x1,$y1,$right,$bottom,ByRef $x, ByRef $y, $tolerance) if I want to search an entire area 300x400 of image and the address at the top/left is 510/420 , what is $x1 , $y1 , $right and $bottom ??? Please explain for me . Thanks
Kevie Posted November 28, 2012 Posted November 28, 2012 $x1 = 510 $y1= 420 $right=810 $bottom=820 that should work
ileandros Posted November 29, 2012 Posted November 29, 2012 $x1 = 510 $y1= 420 $right=810 $bottom=820that should workThat would be right but give a little bit more space so your imagesearcharea will find it for sure.Searching for images 300x400 though can take too long time to find them and if ur using the function more that one times will be too laggy I feel nothing.It feels great.
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