How can I re-hover the mouse pointer back to its starting point?
In other words, as the last step in my automation, I want to put the mouse pointer back to the exact same location, within it’s exact same active window (before automation started). I need to hover to this location, WITHOUT clicking on the original window.
Get Active Window activity can save the source window to a variable (e.g. activeWindow).
Activate activity can (element = activeWindow) reactivate the source window.
But, how can I save the mouse cursor position and return the mouse cursor position to this saved position in the activeWindow element?
After copying the sequence to my project, I see the error:
Validation Error Compiler error(s) encountered processing expression “new Point(x,y)”. ‘Point’ is ambiguous, imported from the namespaces or types ‘System.Windows, System.Drawing’.
Any suggestions on how to correct the ambiguous item?