TaskName Property

CurrentTask2 Example

 

Specifies the name of the currently executing task.

 

Declaration

Dim TaskName As Variant

 

Description

Use the TaskName property to retrieve or set the name of the currently running task. If you change the name of the task during execution of your script, be sure it is unique. Problems may arise in the AutoMate™ Configuration Manager if you attempt to set the task to a name that already exists in your tasklist.