Page 1 of 1

Restoring Mouse position

Posted: Wed Jan 31, 2007 12:17 pm
by Casey44
I would like to:
1. Store the current mouse position.
2. do things with the mouse
3. Restore the mouse to where it was on the screen.
Is this possible?
 

Restoring Mouse position

Posted: Tue Feb 06, 2007 5:37 am
by Oleg
Excuse me for the long silence.

RoboTask have no actions for saving mouse position. But you can do this by using basic scripts. See this example. The task contain two scripts:
1-st saves mouse position on the screen to variables mouse_xpos and mouse_ypos
2-nd script restores the mouse position from these variables.