Skip to main content
Participant
October 22, 2023
Answered

Batch Save as script Illustrator 2020 to Version 8

  • October 22, 2023
  • 1 reply
  • 3333 views

I don't post here often, however I am in need of a script for adobe 2020.

Basically as title states, Needing a save as script that will Batch save to convert my 100's of 2020 AI files to version 8.

Reason for this is that 3DS max 2022 does not import 2020 AI file formats correctly, Only version 3 and 8.

I have never been good with Coding of any kind, and I have tried to learn it, Just not hard wired for it.. I'm more of a WYSIWYG designer.

Either of the 2 processes listed below would be ideal if possible.

Option 1 with Illustrator open.

1. Select Batch

2. Select Script

3. Select Folder

4. Run script (opens each file, Resave as Version 8 (can be a copy or overwrite, Either option is fine).

5. Closes current image

6. Opens next image-repeat save script until all AI files in that folder are converted and I can select the next folder of AI files to start processing.

Or..

Option 2 with Illustrator open

1. Open 10-20 AI files

2. Run Script as the following with the current open image file

a. Save as Version 8

b. Close current image (again, Copied rename or overwrite original is fine, I can make backups if necessary)

c. Rinse repeat until all opened files are converted.

d. Open the next 10-20 and repeat process.

 

Thank you in advance and I would greatly appreciate it.

This topic has been closed for replies.
Correct answer Sergey Osokin

Use the Illustrator convert to legacy.jsx script (in the right corner of the page is a Download ZIP button)Set targetVersion = 8. And to avoid overwriting the current files, set overwrite = false.

1 reply

Sergey Osokin
Sergey OsokinCorrect answer
Inspiring
October 22, 2023

Use the Illustrator convert to legacy.jsx script (in the right corner of the page is a Download ZIP button)Set targetVersion = 8. And to avoid overwriting the current files, set overwrite = false.

AbdoCalligraphy
Participant
March 28, 2024

Is there a way to make it (Use Artboards)? 
Thanks,..

Sergey Osokin
Inspiring
March 29, 2024

Sure. Download the script from the link. Open it with a text editor (Notepad, TextEdit) or a code editor.

1) Replace "var overwrite = true" with "var overwrite = false",

2) Add a line to the save options to separate artboards after "saveOptions.embedLinkedFiles" string:

 

// ... previouse code
saveOptions.embedLinkedFiles = false; // Version 7 or later
saveOptions.saveMultipleArtboards = true; // Enable "Use Artboards"
return saveOptions
// ... next code