SetTaskStep Method
Modifies a step to the specified text.
Declaration
procedure SetTaskStep(StepNo As Integer,
Value As Variant)
Parameters
StepNo
The step number to be modified.
Value
The step’s new text.
Description
The SetTaskStep is used to change the current value of a step in a task. Use SetTaskStep to change the step at StepNo to a different command.
It is the caller’s responsibility to ensure the text passed to SetTaskStep is properly formatted and contains a valid command and parameters for that command. Setting a task step to an improper value could cause the task to fail in subsequent runs.