Copy link to clipboard
Copied
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 thousand .eps files produced in an external application to .ai files, each of which are cropped in to remove all extra artboard space which is unused. So essentially, I need it to do the following:
Unfortunately, I have no idea how I could write a script to accomplish this. Any examples would be greatly, greatly appreciated. At the very least, help guide me in the right direction here. Thank you so much.
Copy link to clipboard
Copied
First thing that comes to mind is that there is a dedicated Scripting forum: Illustrator Scripting
Copy link to clipboard
Copied
Should not be too difficult to do with an Action.
Open an EPS file.
Create an Action that inserts 2 menu items;
Select > Select All
Object > Artboards > Fit to Selected Art
Save as
Now you can use Batch ... from the Actions menu to select a folder and apply the Action to the contents.
Copy link to clipboard
Copied