Skip to main content
Community Expert
August 29, 2025
Question

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

  • August 29, 2025
  • 4 replies
  • 223 views

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

4 replies

Inspiring
August 31, 2025

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.

Silly-V
Legend
August 29, 2025
RobOctopus
Inspiring
August 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")