sw3103 / movemouse

Move Mouse is a simple piece of software that is designed to simulate user activity.
http://www.movemouse.co.uk/
GNU General Public License v3.0
573 stars 108 forks source link

[Feature Request] - Save current active window / re-activate previously active window #32

Closed egravel closed 1 year ago

egravel commented 2 years ago

Would it be possible to have an action such as "re-activate previously used window"? Or the ability to save the currently used window and then reference it in the "activate" action?

I'm often on Zoom calls or watching training videos from my laptop and need to keep my Virtual Desktop (Citrix) active. Currently, I have an action sequence that activate the VD window and moves the mouse which prevents it from disconnecting after being idle for X minutes. But then I have to click back to where I was to continue to work, ie Zoom meeting or training site.

sw3103 commented 1 year ago

I have just added a scenario for this, along with the supporting scripts. Please test and let me know how you get on.

https://github.com/sw3103/movemouse/wiki/Scenarios#reactivate-previous-active-window-on-pausestop