Using Automator to batch transform EPS files to PDF or JPG?

I'm trying to use Automator to batch convert EPS files to either PDF or JPG format, I know if you open an EPS file in Preview it automatically creates a PDF but I have to manually save each file and since I have 200+ files I'm trying to use Automator, but it doesn't seem to accept EPS files. Any suggestions?

Aluminium MacBook @ 2'4 GHz, Mac OS X (10.5.5)

Posted on Nov 1, 2008 6:35 AM

Reply
13 replies

Jan 19, 2009 3:47 PM in response to noa711

I am in the same boat wanting to batch convert .eps files into .pdf using the Quartz Filter in Preview.

I tried this in Tiger, but it appears that Preview is still not scriptable and .eps and .pdfs are still not listed in the Automator image formats, which I find very strange.

Preview in Leopard has several bugs which make this very awkward to do manually, not that that is a very effective use of my time, seeing I have 1000's of images I want to convert.

Please is there anyone who has tackled something similar or is more technically capable than me (not saying much) and would know how to go about this?

Thanks

Peter

Jan 19, 2009 8:11 PM in response to Community User

Thanks,

I have been trying to get this to work within Automator:

I tried several methods of feeding files into the workflow with Finder selections:

1. *Get Selected Finder Items*

or

2. *Dispense Items Incrementally* (something I picked up from the Automator site, that is supposed to feed items one at a time).

Then I used Automator's *Watch Me Do*. With an opened .eps file in Preview I recorded:

+Press cmd s / Click the "Save" button / Press cmd w+

Finally used Loop to +Loop automatically+ 1000 times.

There are several problems:

a. It opens 2 copies of each file all at once

b. It interrupts some of the open files with incompleted saves

In the end all the files are opened twice and none are saved.

Feb 4, 2009 10:37 AM in response to noa711

Someone (not me) has created an automator workflow that does this, using a shell script that runs the "pstopdf" unix command. I just downloaded it and tested it on 10 .eps files. You will need to edit the first automator action in the workflow to find the eps files you want (by default it looks for all eps files on your computer), but once you do that, it works like a charm! Converted my eps files to pdf's. Of course, once they are pdf files, you can use automator to convert them to whatever format you want.

http://mad-sci.blogspot.com/2007/12/why-i-hate-computers.html

(link to the actual zip file containing the workflow below)
http://www.physics.mcgill.ca/~burkes/code/PDFworkflows.zip

Aug 4, 2010 11:16 AM in response to PeterBreis0807

I stumbled on this thread while searching for a solution to the same problem (batch convert EPS to JPG).

Luckily, there is now a fantastic little freeware program called Dragoman that does this exact job perfectly. You can convert from a number of formats (including EPS, PSD, PDF, etc) to a whole bunch of formats. It can do batch conversions just fine.

You can download it here: http://creativebe.com/dragoman/

It does require Leopard or Snow Leopard.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Using Automator to batch transform EPS files to PDF or JPG?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.