WLJS LogoWLJS Notebook

SystemDialogInput

Wolfram Kernel
SystemDialogInput[type_String, opts___]

opens a OS dialog window to operate with IO.

Blocking function. Avoid using it in timers like SetTimeout, external event handlers such as InputButton or Button, or within AsyncFunction. Use SystemDialogInputAsync instead

This feature is currently available only for WLJS Desktop App

type

"FileOpen"

Opens a file browser. Filters can be provided as well

SystemDialogInput["FileOpen", {Null, {"Tabular Formats" -> {"*.csv", "*.tsv"}, "Plain Text Document" -> {"*.txt"}}}]

"FileSave"

Opens a file saving dialog. Filters can be provided as well

SystemDialogInput["FileSave", {Null, {"Tabular Formats" -> {"*.csv", "*.tsv"}, "Plain Text Document" -> {"*.txt"}}}]

"OpenList"

Opens a file browser with multiple selections. Filters can be provided as well similar to FileOpen type.

"Directory"

Opens a dialog to select a directory

SystemDialogInput["Directory"]

General options

WindowTitle

The title of the browser window

"Window"

A window to which the dialog will be assigned. By the default is CurrentWindow

On this page