The following example changes the second step of the task to a 鉄end Keystrokes action.
Sub Main
CurrentTask.SetTaskStep (1, 鉄END: AutoMate)
End Sub