Sign in to follow this  
Followers 0
gerym

ImageSearchArea help !

3 posts in this topic

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 :)

Share this post


Link to post
Share on other sites



$x1 = 510 $y1= 420 $right=810 $bottom=820

that should work

Share this post


Link to post
Share on other sites

$x1 = 510 $y1= 420 $right=810 $bottom=820

that should work

That 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.

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
Sign in to follow this  
Followers 0