08-01-2007, 07:46 PM
Hey, how would I make a macro that opens the Display Properties and then sets the wait time for my screen saver?
Display Properties
|
08-01-2007, 07:46 PM
Hey, how would I make a macro that opens the Display Properties and then sets the wait time for my screen saver?
08-01-2007, 08:15 PM
Will not tell you but it also can be changed using Windows API. Search the forum for SystemParametersInfo.
08-01-2007, 08:17 PM
i had tried something like this :
SystemParametersInfo SPI_SETDESKWALLPAPER 0 _s.expandpath("$commonpictures$\Sample Pictures\Forest.jpg") 3 ;;change 5 SystemParametersInfo SPI_SETDESKWALLPAPER 0 "" 3 ;;remove 5 SystemParametersInfo SPI_SETDESKWALLPAPER 0 SETWALLPAPER_DEFAULT 3 ;;should restore default, but does not work on my computer but i got a syntax error
08-01-2007, 08:20 PM
It is not for screen saver.
08-03-2007, 06:37 AM
08-03-2007, 03:39 PM
whenever i try that i always get: Error in ScreenSaver: unknown identifier... and the error is for "SPI_SETSCREENSAVETIMEOUT"
could this be because i dont use the latest version of QM?
08-03-2007, 03:58 PM
Quote:could this be because i dont use the latest version of QM Yes. Replace SPI_SETSCREENSAVETIMEOUT to 15.
08-03-2007, 04:02 PM
Thanks alot. Works Great.
12-11-2007, 03:14 AM
Is it possible to use something like the code above to trigger your screen saver instantaneously rather then set the time in minutes? Or is it not possible to go below the minimum time of 1 minute of inactivity?
Taking on Quick Macros one day at a time
12-11-2007, 09:38 AM
|
« Next Oldest | Next Newest »
|