Active Property

CurrentTask  Example

 

Specifies whether or not the task is active.

 

Declaration

Dim Active As Integer

 

Description

An active task is one that responds to a trigger. A task set to launch on a schedule or hotkey or any other trigger will not trigger if it is set to an inactive state. Inactive tasks, however, can still be launched manually through the AutoMate™ Configuration Manager.

 

Setting the Active property of a task while the task is executing an AutoMate™ BASIC script will stop the task from running any steps after a SCRIPT step.


Set the Active property to one of the following integer values to specify its active state:

 

Value

Meaning

Description

0

Inactive

The task is inactive (or stops, if it is currently running)

1

Active

The task is active and responds to triggers