Jump to content

Recommended Posts

Posted

I wrote a script that finds the coordinates of a pixel to click, but I found that the coordinates of the mouse pointer are different. Ho can i click on the coordinates that i found?

Sorry if I made grammar mistakes.

Posted

For example my resolution is 1920x1080, but if If use MouseGetPos() to obtain the coordinates of the bottom right corner i get 1535, 863.

Posted

Read about

Opt("MouseCoordMode", 1) ;1=absolute, 0=relative, 2=client
Opt("PixelCoordMode", 1) ;1=absolute, 0=relative, 2=client

and

Quote

MouseGetPos

Remarks

See MouseCoordMode for relative/absolute position settings. If relative positioning, numbers may be negative.

 

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