If the file does not exist return filePath otherwise return modified filePath in order to avoid overwriting the existing file.
Object
ExportFS
The Export Utilities object provides the main access for export utilities.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| String | readonly | Return the last used export folder path. | |
| String | readonly | Return the last used folder path. |
Methods
→ String
filePath
String
→ String
Returns JSON containing significant elements of the path.
filePath
String
→ String
Returns the result of joining two path strings using the platform-dependent path separator.
→ Boolean
Deprecated: Use dvascripting.FileUtils.revealAndSelectFiles instead.
filePaths
Varies
→ String
Returns the full path to a selected file
→ String
Returns the full path to a selected file
fullPathWithExtension
String
→ String
Returns the full path to a selected folder
startFolder
String
→ Boolean
Set and store the last used export folder path.
exportFolder
String
→ String
Returns truncated string if its length exceeds truncationWidth for endEllipsis and pathEllipsis types truncated part is replaced with an ellipsis pathEllipsis truncates the middle of the string
Object of 1
Properties elsewhere that hold a ExportFS.