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

Simple script to run batch on multiple files

New Here ,
Jan 16, 2019 Jan 16, 2019

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!

TOPICS
Scripting
1.8K
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
Community Expert ,
Jan 16, 2019 Jan 16, 2019

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

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
New Here ,
Jan 16, 2019 Jan 16, 2019

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

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 ,
Jan 16, 2019 Jan 16, 2019
LATEST

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.

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