Skip to main content
Inspiring
March 20, 2024
Answered

Open folder dialog doesn't works in PR 2024

  • March 20, 2024
  • 1 reply
  • 498 views

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!

This topic has been closed for replies.
Correct answer Bruce Bullis

Fixed in current betas, and our next official release.

1 reply

Bruce Bullis
Community Manager
Bruce BullisCommunity ManagerCorrect answer
Community Manager
March 20, 2024

Fixed in current betas, and our next official release.

Cad81Author
Inspiring
March 20, 2024

Nice, thank you Bruce