I am trying to automate some repetitive tasks.
I thought simulating mouse clicks could be a good way to go.
My current issue is that I am not getting accurate XY coordinates from the MouseGetPos function.
The XY coordinates are close but not exact.
Any ideas why I would not be getting accurate XY coordinates with the MouseGetPos function?
I am using this to get the coordinates:
Code: Select all
MouseGetPos, xpos, ypos
MsgBox, The cursor is at X%xpos% Y%ypos%
Thanks for your help!