Benjamin28
15 discussion posts
Hi,
Is it possible to somehow abort the screensaver programmatically? I need to take a screenshot of a computer's desktop before i remote into it with TeamViewer, but the screensaver is blocking the view.
I tried creating a trigger with a function that disables the screensaver, but nothing happens. I have also attached a simple Show Notification function to the trigger, which is fired just fine, so I'm sure the trigger is fired.
Furthermore I need to maximize a window when the screensaver is aborted - is this possible? And if so, how?
You could probably use a Scripted Function in the Trigger that moves the mouse a little bit, to deactivate the screen saver. The same Scripted Function could also maximize the window as well. What's the window title of the window you want maximized? I can write up a sample to get you started.
Thanks!
Benjamin28
15 discussion posts
It seems moving the mouse did the trick indeed. I tried with both keypress and mouseclick with no luck. Thanks!
Is it furthermore possible to create a trigger for when screensaver exits? I wish to maximize a window when the screensaver is closed, if certain conditions are met.
Feb 28, 2018 (modified Feb 28, 2018)
•
#3
You could try using a Process Ended Trigger event, and put the name of the screen saver file in it, like this:
*DFSSaver.scr
In theory that should fire when the DisplayFusion Screen Saver exits.
If you use just the Windows screen saver settings instead of DisplayFusion, you'd need the name of the screen saver itself (e.g. *Ribbons.scr)
Thanks for the updates! Glad to hear you were able to get something working there. We will definitely let you know when we're able to add a screen saver starts/exits Trigger event.