How Can We Help?
< All Topics

How do I obtain the current mouse position during macro playback?

From the Mouse commands, select the Get Mouse Position option. You can obtain the mouse position relative to the window that has focus or relative to the entire screen. The X and Y mouse coordinates are each saved to Integer variables, such as N1 and N2.

Use the Mouse Move command to return the mouse to it’s original position at a later point in the macro.

– Applies to: Macro Express and Macro Express Pro