Copy link to clipboard
Copied
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!
Fixed in current betas, and our next official release.
Copy link to clipboard
Copied
Fixed in current betas, and our next official release.
Copy link to clipboard
Copied
Nice, thank you Bruce