The default directory where Imagenation first looks to open or save files is set in the File Preferences dialog box. An application can also request and set this directory.
To set the default directory:
· Use the SetDocumentDirectory transaction.
The default directory becomes the specified one. You can also use GetDocumentDirectory to request the current default directory.
The File Preferences dialog box also specifies the default directory for symbols. This directory is used by the Symbols palette, and the symbols are loaded from and saved to it by default.
To request the symbol directory:
· Use the GetSymbolDir transaction.
To change the symbol directory:
· Use the SetSymbolDir transaction.
The specified directory will be used by default for symbols.
See also