Restoring Mouse position

Discuss RoboTask here
Post Reply
Casey44
Posts: 4
Joined: Wed Jan 31, 2007 11:48 am
Location: Netherlands

Restoring Mouse position

Post 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?
 
Oleg
Site Admin
Posts: 3014
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Restoring Mouse position

Post 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.
Last edited by Oleg on Tue Feb 06, 2007 9:37 am, edited 1 time in total.
Post Reply