SaveToFileEx Example

 

The example saves the properties and steps of the current task as an STFF file called ôexample.amtö, and places it in the ôc:\mytasks\ö directory. The file can then be loaded by another script using the CurrentTask2.LoadFromFile method.

Sub Main

 CurrentTask2.SaveToFileEx (ôc:\mytasks\example.amtö, 0)

End Sub