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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Use "dvanced Task Scheduler to automatically start screensaver

Status
Not open for further replies.

JMal

Programmer
Aug 19, 2004
61
IE
I use a very smart apllication called Advanced Task Scheduler to run various tasks on my PC which works similar to "Scheduler Tasks" in the conrtol panel but much easier.

I want to create a task which will start the currently installed screensaver at various times.

The application can run a DLL and execute a command line argument.

The user maunal gives lots of examples....

What I want to do is start up the currently installed screensaver. Can anyone tell me what the command line argument.

The following is examples of the sample command line arguments given.
....................................................
Display Options
"shell32.dll,Control_RunDLL desk.cpl,,0" - displays the Background tab selected
"shell32.dll,Control_RunDLL desk.cpl,,1" - displays the Screen Saver tab selected
"shell32.dll,Control_RunDLL desk.cpl,,2" - displays the Appearance tab selected
"shell32.dll,Control_RunDLL desk.cpl,,3" - displays the Settings tab selected
Note: Your video adapter
-----------------------------------------------------
Screen Saver Installation
"desk.cpl,InstallScreenSaver c:\win\system\Flying Windows.scr" - Installs the new screen saver and runs the display/screen saver preview property page. Specify a valid path to the screen saver file to install. If you are installing a new
screen saver, first copy the screen saver file into the windows\system folder, then execute the above command. This will install the specified saver as the current screen saver. It will not copy the file into the windows\system folder.
Replace the string above with the name of your actual .scr file.
System Properties
"shell32.dll,Control_RunDLL sysdm.cpl,,0" - displays the General property page. Also this property page may be started by WIN-PAUSE BREAK keys.
"shell32.dll,Control_RunDLL sysdm.cpl,,1" - displays the Device Manager property page
"shell32.dll,Control_RunDLL sysdm.cpl,,2" - displays the Hardware Profiles property page
"shell32.dll,Control_RunDLL sysdm.cpl,,3" - displays the Performance property page
--------------------------------------------------------


Can anyone give me the arguments which will start up the screensaver.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top