Sign in to follow this  
Followers 0
hatchetman

Is There A Way To Get Over Resolution Dependence..

3 posts in this topic

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

Share this post


Link to post
Share on other sites



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...

Share this post


Link to post
Share on other sites

Thanks.... I give that a shot

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0