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

Batch conversion of .eps to .svg files

New Here ,
Oct 23, 2018 Oct 23, 2018

Copy link to clipboard

Copied

I am a new AI user and need a script to batch convert hundreds of existing .eps files to .svg for eventual use in Madcap Flare. Hopefully this should be a fairly simple script, but I have decided to ask here because of my lack of experience.  The goal is to do a batch conversion of several hundred .eps files previously produced in Adobe Illustrator, each of which must be cropped io remove all extra artboard space which is unused.  So essentially, I need it to do the following:

  1. Prompt the user to select multiple .eps files.
  2. Open the first .eps file.
  3. Remove the extra space by cropping (the same effect as going to Object -> Artwork -> Fit to Artwork Bounds)
  4. Save the current, modified document as an Illustrator .svg file with the same name as the original file (but obviously the .svg extension instead of .eps).
  5. Close the current document without making changes to the original .eps file.
  6. Repeat steps 2 through 6 for the remainder of the files that were selected.

Unfortunately, I have no idea how I could write a script to accomplish this.  Any examples would be greatly appreciated.  At the very least, help guide me in the right direction here.  Thank you so much.

Trevor

TOPICS
Scripting

Views

6.9K

Translate

Translate

Report

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
Valorous Hero ,
Oct 23, 2018 Oct 23, 2018

Copy link to clipboard

Copied

Have you looked into using Illustrator actions to accomplish this task? It looks like all your requirements can be fulfilled with Illustrator's out-of-the-box Actions feature.

Votes

Translate

Translate

Report

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 ,
May 11, 2024 May 11, 2024

Copy link to clipboard

Copied

LATEST

Thank you too

 

Votes

Translate

Translate

Report

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