
AlvaroG
2 discussion posts
Hi,
I'm trying to automate starting and stopping the DisplayFusion Screensaver without physical user interaction (human pressing a keyboard key or moving the mouse).
I'm successfully able to start the DisplayFusion Screensaver and then I cannot stop it using a hotkey to call a function (keypress or mouse movement) in DisplayFusion. Also, I tried using other methods like NirCmd and AutoHotKey but I was not successful.
Please let me know what it the bext way to stop the screensaver. I can control anything in the PC, even killing the particular process running the DisplayFusion Screensaver.
Thanks in advance.

AlvaroG
2 discussion posts
It doesn't work.
While the screensaver is running, the PC doesn't respond to automated command line calls via bat/exe/etc. It just responds to physical mouse/keyboard controls.
This sounds like a bug to me. if it responds to physical mouse and keyboard commands, why wouldn't it respond to the same commands but simulated by an automated process via bat/exe/cmd line?

JLJTGR
125 discussion posts
Maybe whatever you're using doesn't have enough "presense" to work while the screensaver is active. A batch file that starts the screensaver, waits 4 seconds then runs taskkill works fine. A DF Custom Function as I wrote above run by DisplayFusion and triggered by mobile works as well. Of course if your screensaver is not actually managed by DisplayFusion, then the taskkill parameter will be wrong.