MattHiggs Posted April 8, 2016 Share Posted April 8, 2016 (edited) For options like PixelCoordMode or MouseCoordMode, I am not sure I understand what "relative coords to the client area of the active window" means. More specifically, the "client area" part is what I don't understand. Is this option what you would use if, say, you were trying to have the script remotely perform tasks on remote computer? If so, how would one use the Window information tool to determine the coordinates desired? Is see that the option is available for selection, so would you drag the cursor over an RDP session or something? IDK. Thanks in advance for any assistance. Edited April 8, 2016 by MattHiggs Link to comment Share on other sites More sharing options...
MilesAhead Posted April 8, 2016 Share Posted April 8, 2016 The "client area" of the window is the area below the caption bar. Windows handles things like left mouse drag and right mouse click on the caption bar. So if MouseCoordMode is set to client area of the active window an x,y of 1,1 will be one pixel right of the border on the x axis and one pixel below the caption bar on the y axis. Be aware that when you call WinGetPos it returns the size of the entire window. This can lead to miscalculations. As an example if you click the mouse using an x,y of 3,3 you might think you would click in the window system menu. But no, it is 3 down and 3 right inside the client area. You get used to it in time. My Freeware Page Link to comment Share on other sites More sharing options...
MattHiggs Posted April 8, 2016 Author Share Posted April 8, 2016 Ah I see. Thank you for the info. Seems kind of unnecessary to have an entire separate mode for that, but I guess that's just me. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now