InsertTaskStep Example

 

The following example will insert a 鉄end Keystrokes step into the current task as the fourth step.

 

Sub Main

 CurrentTask.InsertTaskStep (3, 鉄END: AutoMate Version 4)

End Main

 

 

This example will copy the third step, and place the copy above itself.

 

Sub Main

 Dim StepToCopy As Variant

 

 StepToCopy = CurrentTask.GetTaskStep (2)

 CurrentTask.InsertTaskStep (2, StepToCopy)

End Sub