Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Screensaver parameters

Status
Not open for further replies.

organman

MIS
May 12, 2004
109
SE
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.

Any tips are appreciated
 
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top