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

Select Folder or File?

Guest
May 04, 2011 May 04, 2011

All,

For both the Folder.selectDialog() and myFolder.selectDlg() methods, the JavaScript Tools Guide states:

If the user clicks OK, returns a File or Folder object for the selected file or folder. If the user
cancels, returns null.

However, when I use either of these methods, the dialog will only let me select Folders... all of the individual files are dimmed.

Is there a way to provide the user with a dialog that will allow them to pick either?

TOPICS
Scripting
547
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
Adobe
Guide ,
May 05, 2011 May 05, 2011
LATEST

Use the file object select instead…

Edit… Very sorry I got that plain wrong… A file object can reference a file or folder object but the file select method does NOT work in the same way…

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