dialog

show a file selection dialog and return selection


Parameters

dialog title :string

Attributes

folderselect folders instead of files
path:stringuse given starting path

Returns

  • :string

Examples

copy
selectedFile: dialog "Select a file to open" ; gets full path for selected file, after dialog closes

copy
selectedFolder: dialog.folder "Select a folder" ; same as above, only for folder selection

Related