The following example displays the step command of step #2 in a message box.
Sub Main
MsgBox CurrentTask.GetStepCommand (1)
End Sub