OSCommand Method

Action Example

 

Encapsulates the AutoMate™ actions under the “System” group. Performs a system reboot, shutdown or logout. OSCommand can also be used to programmatically shutdown the AutoMate™ Task Service.

 

Declaration

procedure OSCommand(Command: OleVariant); safecall;

 

Description

Set Command to one of the following integer values to specify which system command to perform:

 

Value

Description

REBOOT

Reboots the system

SHUTDOWN

Shuts the system down

LOGOUT

Logs-out of the system

QUIT

Shuts down AutoMate™