Wolfram Language & System 11.0 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)

This feature is not supported on the Wolfram Cloud.

brings up an interactive system dialog and returns the value chosen in the dialog.

uses init as the initial setting in the dialog.

Details and OptionsDetails and Options

  • Possible types include:
  • "Color"color picker dialog
    "Directory"directory dialog
    "FileOpen"file open dialog
    "FileSave"file save dialog
    "RecordSound"record sound dialog
  • When SystemDialogInput is evaluated, the Wolfram System stops until the dialog has been dismissed, and a result returned.
  • If the dialog is canceled, SystemDialogInput returns $Canceled.
  • Many dialog types allow the option WindowTitle to be given.
  • For "FileOpen" and "FileSave", filters for files can be specified in the form SystemDialogInput[,{init,{"type1"->{"patt11","patt12",},"type2"->{},}}], analogous to FileNameSetter.
  • "RecordSound" is not supported on all platforms.

ExamplesExamplesopen allclose all

Basic Examples  (3)Basic Examples  (3)

Put up a system color picker dialog, returning the color picked:

Click for copyable input

Put up a system file open dialog, returning the name of the file chosen:

Click for copyable input

Use the system sound recording dialog:

Click for copyable input
Introduced in 2007