SETMOUSEPOS
— Move the
mouse pointer to the specified screen coordinates.
Syntax:
SETMOUSEPOS
/Q /X:
x /Y:
y
/Q | quietly |
/X: x | the new horizontal position |
/Y: y | the new vertical position |
This command might be useful on a kiosk system which just displays web pages. If you don’t want the mouse cursor to be visible, move it to the lower-right corner with:
setmousepos /x:%@dec[%@screenres[,X]] /y:%@dec[%@screenres[,Y]]
The range of valid coordinates will depend on your screen size.