select folder dialog in external
Hi,
in a max external, i need to open a dialog to select a folder. How can i do that? Is there any source code?
Thank you
Thomas
You can call getfolder
with something like that:
char path[MAX_PATH_CHARS];
short result, vol;
result = getfolder(&vol);
if (!result) {
path_topathname(vol, NULL, path);
post("%s", path);
}
Hi Emmanuel,
thank you. The next problem is that the folder dialog needs a sort of "promptset". Something like
folder_promptset("Please select the xyfolder");
open_promptset doesn't change the dialog, i tried.
Thomas