Return upper left coordinates of image

How can I get the upper left coordinates of a found image? ImageLocation() returns the hotspot coordinates of the image and many times, we don’t want this.


ImageRectangle() returns the rectangle coordinates of the image. So if you want the top left coordinates of an image you could do this:

put the first two items of ImageRectangle(“someImage”)

Yes, or you could even say:

put the topLeft of ImageRectangle("someImage")