system.file.openFile() to open a Folder

Is there any way of using the popup view that opens when calling system.file.openFile() to select a folder?

For some reason if you try you can only click accept if you select a file.

I'm trying to select a folder to save a file there, so the user can select where to save it.

Note: I'm calling it from the designer console.

Thx!

I would try system.file.saveFile(). I don’t know if that will let you select a folder as a path or not.

2 Likes

Maybe I’m misunderstanding your question but does system.file.saveFile() not work for what you’re trying to accomplish?

1 Like

It does, I understand the documentation wrong.
It actually does what I need. Thx!

3 Likes