Amerifax-Bob Posted August 30, 2010 Report Share Posted August 30, 2010 I have a command I'm using that says: Get Mouse Position into (%N[1]%, %N[2]%) Relative to Current Window It is my understanding that this command will take the location of the mouse and store the location into variables. My question is, how does the program know where the mouse is located? How does it determine it's position? Thanks, Bob Quote Link to comment Share on other sites More sharing options...
acantor Posted August 30, 2010 Report Share Posted August 30, 2010 Macro Express determines the position of the mouse pointer relative to the top left corner of the screen, window, or control. So if your mouse is hovering over the top left corner of a window, the mouse locator will report that it is at coordinates (0, 0) relative to the window. Quote Link to comment Share on other sites More sharing options...
Amerifax-Bob Posted August 30, 2010 Author Report Share Posted August 30, 2010 Macro Express determines the position of the mouse pointer relative to the top left corner of the screen, window, or control. So if your mouse is hovering over the top left corner of a window, the mouse locator will report that it is at coordinates (0, 0) relative to the window. Thanks for the help Bob Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.