Script: Export as EPS, AI, PNG all in the same folder
Good Afternoon,
Here is our situation:
We have several 1000 .EPS vector files which are inside a folder and sub-folders. We need to remove the "background" layer from the vector file and save the file as an EPS, AI & PNG/JPG. These file need to saved in the original vector images folder. The original vector file can be left or saved over.
The attached script has been built to search for .ai and .eps files, open them, remove the bottom layer and save over the original file.
Our previous script (see attached) removed the layer with the name "background". We prefer this option because not all of our designs have a background layer. In these cases the vector image would be deleted and saved with a blank artboard.
OK, this is what we are looking for:
- Search a folder and sub-folders for .ai & .eps files
- Remove the layer name "background"
- If no "background" layer is in the file, then bottom layer should stay.
- Save as, .AI, .EPS & .PNG .JPG
- Images should be saved in the original vector image sub-folder.
Any help will be welcomed.
Thanks in advance,
Daniel
