RunTask Method

AutoMate2 Example

 

Runs another task.

 

Declaration

Sub RunTask (TaskName As Variant)

Description

Use RunTask to start another task. The task specified in TaskName must be in the current TaskList (use the TaskList property to obtain the path to the current task list in use by the AutoMate object). The task run by RunTask executes asynchronously with other tasks (i.e., the execution of the script using the RunTask method will not stop).