I can get this to work in WC and SC in developer, but only in SC in production. The Directory Select Dialog doesn't appear in WC.
I want to read contents of a folder on a CD on the client's machine.
- Code: Select all
if (globals.isMac())
{
var folder = plugins.file.showDirectorySelectDialog('/Volumes/');
}
else {
var folder = plugins.file.showDirectorySelectDialog();
}