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

Open folder dialog doesn't works in PR 2024

Participant ,
Mar 20, 2024 Mar 20, 2024

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!

TOPICS
Error or problem , SDK

Views

323

Translate

Translate

Report

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.

Votes

Translate

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

Copy link to clipboard

Copied

Fixed in current betas, and our next official release.

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

LATEST

Nice, thank you Bruce

Votes

Translate

Translate

Report

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