Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Returns the default directory that Shogun 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.

...

NameFlag argumentsArgument typeExclusive toComments
fullPath0This flag will add the scene name and ".vdf" extension to the returned path. By default, just the directory is returned.
e0This flag will return the default directory that Shogun thatShogun Post's Export dialog initializes to instead of the Open and Save dialog boxes default.

...

Returns the full path to the default directory that Shogun that Shogun Post's Open and Save As dialog boxes initialize to.

Examples

Code Block
languagetext
// Launch the file dialog and get the directory location that they chose

...


loadFile;

...


 

...

// Should return the directory of the file the user chose in the 

...


// Open File dialog.

...


string $str = `getSavePath`;

...


print $str;

Additional information

Related commands

...