GetTaskStep Method

CurrentTask2 Example

 

Retrieves the entire step from the text at the step number specified.

 

Declaration

function GetTaskStep(StepNo As Integer) As Variant

 

Parameters

StepNo

 The step number, as an integer, to be retrieved.

 

Return Values

 The function returns a string variant with the text of the step at step number StepNo.

 

Description

The GetTaskStep method returns the entire step string at the step number StepNo as it appears in the step builder. Use the return value is calls to GetStepCommand and GetStepParameter to parse through the step and extract the step’s command and parameters.