Is there any way that I can see for how long time the screensaver has been running ?
I would like to monitor that information and then develop an application that can shutdown the computer if the screensaver has been active for 4 hours.
I'm not sure there's a way within Windows itself to determine that. Typically what you see on the "Display Properties/Screensaver" screen is what Windows knows or has control of - as far as I know.
What you could do is write your application to be the only thing that fires up on the system for a screen saver. Basically, write your app as a proper screen saver. Your app runs, interprets the command parms, and then shells to the screen saver within your configuration. Then, start a timer within your app and then shut down the computer when the timer hits the level involved.
I could help from there, if it is necessary. But I don't think there's a setting that indicates that.
HKCU/Control Panel/Desktop is where you should find these settings.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.