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

Illustrator Scripting – is creating a panel to list / call several other scripts even possible?

Community Expert ,
Aug 29, 2025 Aug 29, 2025

using Scripting,

I wonder if it is possible to create a panel / window within Adobe Illustrator to show a list of all scripts in a particular folder, so I can choose from and by clicking to start a script or two of them?

 

thanks in advance

Nils

TOPICS
Scripting
135
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
Participant ,
Aug 29, 2025 Aug 29, 2025

yes, there was a guy that had an old youtube tutorial for doing just this. i can't find the video anymore, but I used it as a starting point to make the one I use. https://youtube.com/@ntproductions

 

the essence of it is.

a webpage that loads javascript to go get all the files in a folder(s) and then for every file that comes back, create a button with the internal information to run an evalScript for the filepath of each button.

then it becomes button click to evalScript("path/To/Script.jsx")

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
Community Expert ,
Aug 29, 2025 Aug 29, 2025
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
Valorous Hero ,
Aug 29, 2025 Aug 29, 2025
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 ,
Aug 30, 2025 Aug 30, 2025
LATEST

I have done it — it's relatively simple:

  1. create a basic panel
  2. read the source script directory into an array
  3. eliminate any non-jsx files from the array
  4. add links to the panel's DOM corresponding to the remaining files in the array
  5. when the user clicks on a link, read the contents of the corresponding jsx file into the CEP environment

 

To make it faster, you can read all the JSX files into the CEP environment at load time and set it up so that they contain functions that are executed when the user clicks on a link.

 

If you have questions about all or part of this just reply and I'll answer.

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