|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
SystemDialogInput
SystemDialogInput["type"]
brings up an interactive system dialog and returns the value chosen in the dialog.
SystemDialogInput["type", init]
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, Mathematica 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
and
, filters for files can be specified in the form SystemDialogInput[..., {init, {"type1"->{"patt11", "patt12", ...}, "type2"->{...}, ...}}], analogous to FileNameSetter.
is not supported on all platforms.
New in 6
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »

