Function: Converts the selected images to a single PDF file.
Author: Rhet Turnbull
Notes: Files are ordered based on ascending name (since the Finder doesn’t pass selected items in the order they appear in the Finder window) but this can be changed by editing the workflow. The resultant PDF is opened in Preview and will need to be saved manually (the file is created in /private/tmp).
This is really beautiful. Thank you for taking the time to do this. One little suggestion is that there is a security issue with dumping these files to /private/tmp — especially since they don’t get cleaned up by the script. It would be better to put the temporary files in /private/tmp/UID or perhaps a hidden folder in the home directory (which can then be tossed).
Comment by Kristofer — October 2, 2007 @ 12:31 am
Thank you thank you thank you… I’ve been looking for a way to bookify some image collections I have and this is definitely the most elegant way to do it.
Comment by Byron Doyle — July 29, 2007 @ 5:17 am
Rhet, many thanks for this, I’ve been trying to get a workflow to work with little success, and yours just does! I use it for archiving scanned documents. I scan a bunch of pages in order as Jpegs and run your script. I altered the “sort by” to creation date in descending order as this ensures the pages are in the order I scanned them in.
Comment by Justin Chapman — July 17, 2007 @ 4:41 pm