CurrentTask Object

Properties Methods

 

NOTE: The CurrentTask object has been deprecated. Use the CurrentTask2 object instead.

 

The CurrentTask object encapsulates the properties of a task, and methods that act upon that task.

 

Description

The CurrentTask object contains properties and methods to allow you to view and modify attributes of the currently executing task. Use this object to control specific parts of the executing task “on- the-fly.”

 

When a script is started, AutoMate™ automatically instantiates an CurrentTask object and populates it with the properties of the currently running task. This object is referred to as “CurrentTask.” Use CurrentTask to access and modify the properties of the currently running task, as well as performing actions on the task, such as rescheduling and saving it to a file.