npocmaka / batch.scripts

batch script utils and examples by npocmaka -
https://www.linkedin.com/in/npocmaka/
MIT License
1.07k stars 874 forks source link

mouse.bat positions dont work #15

Closed travick closed 6 years ago

travick commented 6 years ago

I'm using windows 10 and the screen res is 1600x900

position arg returns correct XxY co-ordinates but moveTo doesn't move exactly like the co-ordinates provided.

I need to enter 65000x65000 to reach (moveTo) near the bottom-right corner.

npocmaka commented 6 years ago

i'll take a look in a few hours. I hope it is not an emergency case.

npocmaka commented 6 years ago

@travick - can you try it now? And thanks for pointing this out. I'm not sure if I'll need Math.Floor for rounding the numbers.