Jump to content

MouseClick X/Y not accurate?


Recommended Posts

In this code I have "MouseClick("Left",190,174)" however it persistantly clicks at 190,204. The X & Y values are based off of Window Info. Why would the mouse click be off that much?

I do have Opt("MouseCoordMode", 2) set so it is clicking in the right window. Just the wrong location.

Edited by ckelsoe
Link to comment
Share on other sites

Changed the code to ControlClick which works. I think the issue is that Window Info is returning incorrect values as the X,Y of the controlclick is different than the x,y shown in the mouse coordinates.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...