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

Select directory in illustrator

Contributor ,
Feb 24, 2020 Feb 24, 2020

Copy link to clipboard

Copied

The following allows me to selecct a file:

window.cep.fs.showOpenDialogEx(false, false);

How would I select a directory?

Not a file I just need to select the directory.

TOPICS
Scripting

Views

366

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
Adobe
Community Expert ,
Feb 24, 2020 Feb 24, 2020

Copy link to clipboard

Copied

LATEST

Set the 2nd argument to True. 

 

reference:

showOpenDialogEx (allowMultipleSelection, chooseDirectory, title, initialPath, fileTypes, friendlyFilePrefix, prompt)

 

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