::hw::automate::LoadTaskFile

Creates a new instance of the task specified by .tsk file filename at the location x position, xpos, and y position, ypos, on the current Process Modeling window. Equivalent to the New Task from File option.

Syntax

::hw::automate::LoadTaskFile filename, xpos, ypos

Arguments

filename
Task Representation File .tsk.
xpos
X coordinate where the task needs to be placed.
ypos
Y coordinate where the task needs to be placed.

Returns

Task ID if successful. Error if unsuccessful.

Example

::hw::automate::LoadTaskFile {C:\14.0\demos\automate\
1_math_task_basic_datatype\MathTask.tsk} 100 100