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