hatchetman Posted March 4, 2004 Share Posted March 4, 2004 For an example.... It seems that the mouse click command is dependent on the (x,y) coord that you want to click on but that may change depending on your resolution. Is it possible to write a more robust way of precise screen referencing independent of the current resolution. -Thanks Link to comment Share on other sites More sharing options...
Valik Posted March 4, 2004 Share Posted March 4, 2004 In general, it's usually far better to use some of the Control-related functions to directly access controls and the like in programs. If you must use the mouse, take a look at the AutoItSetOption MouseCoordMode. It'll allow you to make the mouse relative to either the screen or the foreground window. Also, you could possibly calculate an offset into a window by using @DesktopHeight and @DekstopWidth macro's... Link to comment Share on other sites More sharing options...
hatchetman Posted March 4, 2004 Author Share Posted March 4, 2004 Thanks.... I give that a shot 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