Class: DuFolderSelector

DuFolderSelector

For use with DuScriptUI.
A "Browse" button for folders only, with an optional text field for the path.
This is not a real class, and cannot be instanciated.
Use DuScriptUI.folderSelector to create a selector.
The DuFolderSelector inherits the Group object from ScriptUI and has all of its properties and methods.

new DuFolderSelector()

D:/DEV_SRC/RxOT/DuPSF/tools/output/DuPSF.jsxinc, line 10904
Properties:
Name Type Description
path string The folder path, initialized with an empty string. Note that this may not point to an existing folder if the user entered an incorrect path in the text field.
To be sure to get an existing folder, you can use the getFolder() method.
editText DuEditText | null The text field, if any.
button DuButton The "Browse" button.

Methods

staticDuFolderSelector.getFolder(){Folder|null}

D:/DEV_SRC/RxOT/DuPSF/tools/output/DuPSF.jsxinc, line 10918
Gets the selected folder.
Returns:
Type Description
Folder | null The new Folder, if any. null if the Folder does not exist or the user has input an incorrect path.