Can ahk find "image coordinates" ?
Can ahk find "image coordinates" ?
I am aware that ahk can find the screen coordinates (the mouse position, in X;Y), but is there a way of finding the "relative coordinates" of an image? For example, when you open a picture with Microsoft Paint you can read the X;Y coordinates of the image (the top-left pixel is 0;0), regardless of the position of the Paint window on the screen, regardless of the zoom level or scroll position along the image. Is ahk capable of this too?
Re: Can ahk find "image coordinates" ?
You can use ImageSearch to find the position of an image relative to the window, but not regardless of zoom level. It can’t find it if what it is looking for in terms of the reference image is scrolled off the window. Whatever you are using as a reference image must appear within a window in order to find it.
Who is online
Users browsing this forum: No registered users and 335 guests