Jump to content

Is There A Way To Get Over Resolution Dependence..

Recommended Posts

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.


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

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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...