Clicking the closest instance of an image to a point

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
efowler2011
Newbie
Posts: 1
Joined: Wed Feb 15, 2012 7:11 pm

Clicking the closest instance of an image to a point

Post by efowler2011 » Sun Feb 19, 2012 11:55 am

This was something I tried to find for a while, but I finally figured it out on my own. This is for getting the coordinates of the closest instance of an image to any given point.

Image

where XXX,YYY are the coordinates of the main point. It's probably not very efficient, but it works.

Just thought it would be useful for someone

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts