Nother question --

Is it possible to query the user for a *directory* to open, as opposed
to a file?

At least on a mac, the file chooser dialog won't allow you to choose a
directory with ask_open_file.

You could get a directory from the user by having them use
ask_open_file to select a file within the directory... but that's no
good for empty directories or not-yet-existent directories.

For an empty or not-yet-existent directory you could have the user use
ask_save_file to select a (possibly nonexistent) file within a
(possibly just-created-by-the-dialog's-new-folder-button) directory.

Is there any less hacky way than that to do it?

Thanks!

Reply via email to