How to run screen saver after less than 60 sec ???

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I changed registry value ScreenSaveTimeOut
(HKEY_CURRENT_USER\Control Panel\Desktop\)
to 10, but it seems that every value smaller than 60 is ignored,
and screen saver does't run at all than this value is less than 60.

Is it possible to run screen saver after 5s for example ?
(I know how to run it manually, so don't suggest that solution)

thanks
Vilius
 
Vilius said:
I changed registry value ScreenSaveTimeOut
(HKEY_CURRENT_USER\Control Panel\Desktop\)
to 10, but it seems that every value smaller than 60 is ignored,
and screen saver does't run at all than this value is less than 60.

Is it possible to run screen saver after 5s for example ?
(I know how to run it manually, so don't suggest that solution)

thanks
Vilius

I don't think so, but WHY?
 
I found solution myself.
I called SDK function
SystemParametersInfo( SPI_SETSCREENSAVETIMEOUT, 10, 0, 0 );
second parameter indicates time.
And it works, not limited to 60s !!!
 
Back
Top