The following example will append a 鉄END: AutoMate action to the end of the list of steps of the current task.
Sub Main
CurrentTask.AppentTaskStep (鉄END: AutoMate)
End Sub