Skip to main content

Open File Dialog

Category: User Interface Open File Dialog block screenshot

Opens a file picker and returns the selected file path as a string. Use `initialDomain` to control which location the dialog opens in first. With `cancelBehavior=STOP`, cancelling aborts the script immediately. With `cancelBehavior=EMPTY`, cancelling returns an empty string instead.

Inputs

InputRequiredValue KindTypesEnum Values
cancelBehaviornoenumenum-stringSTOP, EMPTY
initialDomainnoenumenum-stringDEFAULT, USER_DESKTOP, USER_DOCUMENTS, USER_PICTURES, USER_VIDEOS, USER_MUSIC, USER_DOWNLOADS, USER_HOME, TEMP, APP_LOCAL_DATA, APP_LOCAL_LIBRARY, APP_LOCAL_CACHE, APP_LOCAL_SHARED, APP_LOCAL_TEMPORARY, APP_ROAMING_DATA, APP_ROAMING_LIBRARY

Notes

No additional notes are available yet.

See Also

Examples

Import SRT As Sequence Markers

Prompts for marker text-target options, optionally clears existing active-sequence markers, then imports subtitle entries from an `.srt` file as sequence markers.

kind: Recipe · format: persisted-document · validation: Schema only

Topics: markers, subtitles, SRT import, file dialogs, marker comments

Source: recipes/ex-markers-import-srt-as-sequence-markers.json

Download JSON

Import YouTube Chapter Text As Sequence Markers

Prompts for a pasted chapter block or a text file, optionally clears existing active-sequence markers, then imports YouTube-style chapter lines as sequence markers.

kind: Recipe · format: persisted-document · validation: Schema only

Topics: markers, YouTube chapters, text import, file dialogs, multiline prompts, marker comments

Source: recipes/ex-markers-import-youtube-chapter-text-as-sequence-markers.json

Download JSON

Render Marker Ranges With Export Preset

Prompts for an `.epr` preset and an output folder, then renders one file per non-zero-duration active-sequence marker by setting sequence in/out and exporting that range.

kind: Recipe · format: persisted-document · validation: Schema only

Topics: markers, rendering and export, sequence export, presets, file dialogs, folder dialogs

Source: recipes/ex-markers-render-active-sequence-ranges-with-preset.json

Download JSON