Open folder dialog doesn't works in PR 2024
Hi, i created an extension for PR that ask the user to select a folder, clicking on the relative button.
It works perfectly in PR 2023, but it does nothing in PR 2024. All the other buttons works fine, so i suppose the problem is the call to the choose folder dialog window...maybe some changes in the scripting?
The code is:
// Prompt the user to select a folder. If they cancel, return 0.
function getFolder(){
var outputPath = Folder.selectDialog("Choose your folder...");
if(outputPath){
return outputPath.fsName;
} else {
return 0;
}
}
Any idea?
Thank you!
