The following example saves the task contents of the CurrentTask object to a STFF file named 田:\my_task.amt. The task can then be imported to another AutoMate installation.
Sub Main
CurrentTask.SaveToFile(田:\my_task.amt)
End Sub