Description | Example | Return Message | Group

AutoSave

Set the auto save options for the current STK session

Syntax

AutoSave <ApplicationPath> {AutoSaveOptions}

Related Commands

Description

The AutoSave Connect command allows you to activate or disable the automatic save function and specify the directory path and time interval for saving your scenario.

Note: Save options are only in use for the current Connect session-they aren't saved with STK.

{AutoSaveOptions} can be:

{AutoSaveOptions} Description
Enable System automatically saves your work at the interval specified
Disable Work isn't automatically saved
Directory "<DirectoryPath>" Specify the directory path for saving the scenario
Period <TimeValue> Interval between automatic file saves entered in Connect time units. Value must be greater than 30 seconds.
SaveNow If this option is included, and AutoSave is enabled, the scenario will be saved immediately. If not entered, the Scenario will be saved when the auto save interval elapses.

Example

To turn on the autosave function, and save your scenario every 5 minutes (or 300 seconds):

AutoSave / Enable Period 300

To automatically save the current application data to c:/MyTemp/AutoSave, and to save the scenario immediately:

Autosave / Directory "c:/MyTemp/AutoSave" SaveNow

To turn off the autosave function:

AutoSave / Disable

ReturnMessage

If activated, Connect returns an acknowledgement message.

Group Membership

This command belongs to the following group(s):

Application Options

Version

7.0

STK Programming Interface 11.0.1