Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
2

Open folder dialog doesn't works in PR 2024

Participant ,
Mar 20, 2024 Mar 20, 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!

TOPICS
Error or problem , SDK
370
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , Mar 20, 2024 Mar 20, 2024

Fixed in current betas, and our next official release.

Translate
Adobe Employee ,
Mar 20, 2024 Mar 20, 2024

Fixed in current betas, and our next official release.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Mar 20, 2024 Mar 20, 2024
LATEST

Nice, thank you Bruce

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines