[ type ] FileChooserOptions

Description:

Options object for configuring file or directory selection dialogs. Used in Window > chooseFile.

Type: Object

Properties:

Name Type Description

directory

boolean

true to select directories, false to select files.

save

boolean

true to display a Save dialog, false for an Open dialog.

multiple

boolean

true to allow selection of multiple files or folders.

hidden

boolean

true to display hidden files.

filter

string

File type filter string (e.g. "Documents:doc,docx,txt,rtf|Music:mp3,m4a,ogg,wma|Images:gif,jpg,jpeg,bmp,webp").

path

string

Initial directory path or file path to open in the dialog.

Also See: