MaxSystem.openDialog for folders

Peter Castine's icon

This doesn't seem to be in the archives. To my surprise.

Is it possible to get MaxSystem.openDialog to allow the user to navigate to a *folder* rather than a file.

Maybe like System.setProperty("apple.awt.fileDialogForDirectories", "true") from java.awt, but I do not want to use awt or swing.

Peter Castine's icon

Ditto for MaxSystem.saveAsDialog.

Sorry for the bump-style post, but this is also an issue.

Would I be better off with the SysFile API in C? It's occurring to me that this particular mxj could be done almost as easily with the C API.

asardar's icon

I would bump this too :). The Dialogs are awesome, would love to have control over them as described, maybe even populate a new extension list.