hiSaveForRestore
hiSaveForRestore(
[ t_fileName ]
)
=> t / t_failedFilePath
Description
Saves your session information in the file you specify. This function is the programmatic equivalent of selecting the Options – Save Sessions command in the CIW and saving a file in the Save Sessions form that appears.
Arguments
|
t_fileName
|
The name of the file in which you want to save your session; the name can include a path. If you do not specify a path, the SKILL path is used to determine the directory in which the file is saved.
If you do not specify this argument or if you specify an empty string (""), the session is saved in a file named cdsSession.save in the directory determined by the SKILL path.
|
Values Returned
|
t
|
The session information was saved in the file you specified.
|
|
t_failedFilePath
|
The full path to the file if the file could not be opened.
|
Related Topics
General Environmental Functions
hiDisplaySaveForRestoreDialog
Return to top