The available commands for scheduler tasks are the following. These commands can be combined to form a script that directs the operation of the task.
Command |
Description |
---|---|
RunProgram |
Run a program |
RunDosCommand |
Execute a Disk Operating System (DOS) command. |
DisplayMessage |
Display a preset message box on the video screen. This box can be programmed to automatically disappear after a set number of seconds. |
SendKeys |
Send keystrokes to a program that is already running. One or more characters define each keystroke. |
QuitProgram |
Shut down a running program. This command can optionally present a list of running programs to the user for selection and shut down. |
SetActiveWindow |
Shut down a running program. This command can optionally present a list of running programs to the user for selection and shut down. |
CloseWindow |
Close a selected window. |
RestoreWindow |
Restore a selected window to its normal size (normal view state). |
MaximizeWindow |
Increase the size of a selected window to fill the video screen. |
MinimizeWindow |
Reduce the selected window to an icon on the task bar. |
Delay |
Delays the operation of the task for a specified amount of time. |
WaitForProgram |
Stop task script after starting program. Resume task when program is finished. |
Shutdown |
Shut Down window. |
LogOff |
Log off user and shut down running applications. |
Reboot |
Reboot Windows. |
DDECommand |
Send a DDE command to a server application. Many applications support these commands. |
DDEScripts |
Send a list of DDE commands to a server application. The DDE commands are stored in a text file |
Comment |
Insert a non-executing comment into the list of commands for a task. |