|
Open Word Open Excel Open Email Open Powerpoint Open Internet Open Notepad |
Start Word Start Excel Start Email Start Powerpoint Start Internet Start Notepad |
| Open Accounting System |
| Open Annual Budget |
| Open Calculator |
| Begin Calendar |
| Start Safety Check |
Now test your new command. Does your program start when you ask it to?
Passing Command-Line ParametersIf you need to pass command line parameters, you should place a comma inbetween the filename of the program and the first parameter. Additional parameters would only need a space between them. The syntax would look like:filename, parameter parameter ... |
|
c:\program files\netscape\netscape\netscp.exe, mail
The program executable filename is: "netscp.exe". The parameter to access email is
passed with the filename using a comma to separate them.
Log Off System
If you wanted to create a command to log you off of the computer, you should create a command with
the program "shutdown" in the action box along with a required parameter.
The Action code would look like:
shutdown, -t 00
The program executable filename is: "shutdown". The parameter to log off is
passed with the filename using a comma to separate them.
Shut Down Computer System
If you wanted to create a command to turn off your computer, you should create a command with
the program "shutdown" in the action box along with a required parameter.
The Action code would look like:
shutdown, -s -t 00
Or, to Restart your computer, use the following action code:
shutdown, -r -t 00
The program executable filename is: "shutdown". The parameter to log off is passed with the filename using a comma to separate them.
More information about the file called "shutdown" is available at: http://www.tweakxp.com/article36999.aspx.
Hibernate System
If you wanted to create a command to place the computer in hibernation, you should create a command with
the program "rundll32.exe" in the action box along with a required parameter.
The Action code would look like:
rundll32.exe, PowrProf.dll SetSuspendState
The program executable filename is: "rundll32.exe". The parameters to hibernate are
passed with the filename using a comma to separate them. The two parameters are: "PowrProf.dll SetSuspendState"
Open in Minimized mode
If you wanted to start a program in minimized mode, you can add the {Minimize} parameter to the a command.
The Action code would look like:
notepad, {Minimize}
The program executable filename in this example is: "notepad". The parameters to open in minimized mode are
passed with the filename using a comma to separate them. The minimize parameter is: {Minimize}
Site Map