How to get the screen position of a GUI without the titlebar?
Posted: 21 Oct 2019, 19:55
Hello.
How do I get the top left coordinates of a GUI without the window's titlebar, relative to the monitor's Screen?
here is what I mean, I use the mouse to point out which coordinates I want:
AHK's Window Spy gives the position X:1115 and Y:627

and here it gives the position X:1115 Y:652

it is this position I want to get with some way. Is there a native variable or command which gives it? or some other way?
How do I get the top left coordinates of a GUI without the window's titlebar, relative to the monitor's Screen?
here is what I mean, I use the mouse to point out which coordinates I want:
AHK's Window Spy gives the position X:1115 and Y:627

and here it gives the position X:1115 Y:652

it is this position I want to get with some way. Is there a native variable or command which gives it? or some other way?