Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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")
Copy link to clipboard
Copied
there are a couple already made, check these threads
https://community.adobe.com/t5/illustrator-discussions/floating-panel-to-run-script/td-p/15426743
Copy link to clipboard
Copied
This one gets the job done
https://github.com/Silly-V/Adobe-Illustrator/blob/master/Script%20Panel%202/ScriptPanel_2.jsx
Copy link to clipboard
Copied
I have done it — it's relatively simple:
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.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now