Simple script to run batch on multiple files
Copy link to clipboard
Copied
Hi everybody,
I am trying to do the following:
1) Open the first .ai file in a specific folder
2) run an action (that exports the file as a PNG) with the batch process in order to cycle through the variable data
3) repeat with the second .ai file
I am quite a beginner in the coding field but I think this should be very simple, but I dontd know how to code step 2) Any help would be appreciated very muc
h!
Explore related tutorials & articles
Copy link to clipboard
Copied
thedesigndoktor schrieb
… but I think this should be very simple …
Sorry. Do you have scripting experience to say it's simple?
But anyway: here is your 'simple' way (many thanks to Silly-V) :
Creating a dynamic action to use with app.doScript() method.
Have fun
Copy link to clipboard
Copied
Yes I have a lot of experience writing VBA code for Excel, but I am new to coding in Illustrator.
Thanks for the link I will check it ou
Copy link to clipboard
Copied
thedesigndoktor schrieb
Yes I have a lot of experience writing VBA code for Excel …
Then it really should be a simple task for you.
An advice: most scripts here in forum meantime are written in Javascript (Adobe Extendscript). Maybe it could be a good idea to have a look into Illustrators Javascript DOM.

