Jump to content
N0K3

ImageSearch with coordinates instead of x, y

Recommended Posts

N0K3

Hi, my friends, I have a question, the ImageSearch tool needs only a string of x, y where will start searching from 0,0 and go to the x coordinate, y that I marked. however, I need to separate a small space where I do not start looking for the image from 0.0 to x, y where I marked, start looking for the image of x, y that I chose x, y that I also chose.
The line below ImageSearch shows the difference between pixelsearch and imagesearch.

_ImageSearchArea ("10.bmp", 1, 1, 0, @DesktopWidth, @ DesktopHeight, x, y, 0)

Unlike PixelSearch that requires 2 x coordinates, and therefore gives you the choice of an area where you are going to look for the pixel, it does not begin with 0,0, it starts from where I choose and that is my goal with ImageSearch, would it be possible I add the two x, y, y coordinates in ImageSearch with Arrays or something else? I came to ask you for help
Below the PixelSearch line

PixelSearch (cordx, cordy, cordx, cordy, 0xBDB69C, 5)

 

Share this post


Link to post
Share on other sites
JLogan3o13

Your post is confusing, how about a better explanation of what you're trying to do or a screenshot of the image you're trying to find? 9 times out of 10 there is a better way to do it than ImageSearch.


√-1 2^3 ∑ π, and it was delicious!

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

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.