2 summary:: file dialogs that utilize OS X Cocoa services
3 related:: Classes/Cocoa, Classes/GUI
4 categories:: Platform>OSX
8 OSX only. See link::Classes/GUI:: for cross-platform information.
12 private::initClass, prGetPathsDialog, prSavePanel
15 Displays an Open File Dialog.
18 A link::Classes/Function:: to be evaluated when OK is pressed. The selected paths are passed as an Array of Strings as the first argument.
21 A link::Classes/Function:: to be evaluated if Cancel is pressed.
23 argument::allowsMultiple
24 A link::Classes/Boolean:: indicating whether the dialog allows the user to select multiple files. The default is true.
27 Displays a Save File Dialog.
30 A link::Classes/Function:: to be evaluated when OK is pressed. The selected path will be passed as a String as the first argument.
33 A link::Classes/Function:: to be evaluated if Cancel is pressed.
39 CocoaDialog.getPaths({ arg paths;
51 CocoaDialog.savePanel({ arg path;