Request for a Batch Processing script That update Symbols and Export Predefined Artboards
Hi everyone,
I’m looking for a robust ExtendScript solution to automate a kit production workflow. I’ve been trying to build this with AI, but I'm consistently running into syntax issues and engine errors, so I’d like to know if there is a stable approach or an existing script that handles this.
My Workflow: I have a master Illustrator document containing several kit images (Cylinders, Round Panels, Vertical Panels) in various sizes. I need to generate multiple SKU versions based on specific kit combinations:
-
CL: Cylinders
-
RP: Round Panel
-
VP: Vertical Panel
-
RC: Round Panel + Cylinders
-
RVC: Round Panel + Vertical Panel + Cylinders
-
RSC: Round Panel + Small Vertical Panel + Cylinders
-
VC: Vertical Panel + Cylinders
The Required Automation: I need a script that runs a loop to process these combinations:
-
Symbol Update: Replace specific placeholder text within defined Symbols with a custom string provided by the user.
-
Batch Export: Export the specific artboards associated with that combination at 150 DPI.
-
Loop: Repeat this process for every combination the user selects until all SKUs are generated.
Since my files are quite large, I’m trying to avoid legacy engines that trigger 'Save for Web' errors. I’m looking for a clean, stable script (or a recommended professional workflow) that can handle this batch process reliably without crashing.
Has anyone dealt with a similar workflow or does anyone have a script snippet that could serve as a solid base for this?
Thanks in advance for any guidance!

It’s a bit hard to see, but those large texts are my symbols. They are scattered across several locations on my artboards. I currently use white and pink images as placeholders, which I swap out using the Illustrator Links panel to keep things simple, as it automatically handles image proportions.
Here is how my artboards are mapped:
-
Cilinders: Artboards 1–6
-
Round Panel: Artboards 7–8
-
Smal Vertical Panel: Artboards 9–10
-
Vertical Panel: Artboards 11–15
-
Vertical Panel 2 (An variation, also used in VC): Artboards 16–20
These SKUs are temporary and determined by another team in my company. Currently, the process is manual: I fill in the symbols, export the artboards using a defined suffix/prefix, and then use a third-party tool to rename the files.