/
setSavePath
setSavePath
Description
Sets the default directory that Shogun Post's Open and Save As dialog boxes initialize to, or the default directory of the Export dialog if the -e
flag is specified.
Shogun Post's Open and Save dialog boxes share their default values. However, the Import and Export dialog boxes have different default values. The values of these may be retrieved using the getSavePath command. The values get updated whenever you use the dialog boxes.
Use forward slashes instead of back-slashes for all file and directory paths.
Functional area
System
Command syntax
Syntax
setSavePath "savePath"[-e] |
Arguments
Name | Type | Required | Comments |
---|---|---|---|
savePath | string | yes | The path files should be saved to |
Flags
Name | Flag arguments | Argument type | Exclusive to | Comments |
---|---|---|---|---|
e | 0 | — | — | — |
Return value
void
Examples
// Make the export dialog default to the temp directory setSavePath -e "C:/Temp/";
Additional information
Related commands
, multiple selections available,