The following example will add a step as the second step of the task that displays a message box with the words 典his is AutoMate. and make it pop to the front.
Sub Main
CurrentTask2.InsertTaskStep (2, 溺ESSAGE: + Chr$(13) + This is AutoMate. + Chr$(13) + ,1
End Sub