## 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.
Constructor

#### # new DuFolderSelector()

##### 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.

View Source DuAEF_Duik_api.jsxinc, line 12040

# Methods

#### # static getFolder() → {Folder|null}

Gets the selected folder.

View Source DuAEF_Duik_api.jsxinc, line 12055

Returns:
The new Folder, if any. null if the Folder does not exist or the user has input an incorrect path.
Type: `Folder` | `null`