I am kind of surprised that this particular solution hasn't been posted somewhere already, or if it is I just couldn't find it. This will be a handy turn-key solution for dual-sided scanning with a one-sided scanner. I'll post back the scripts when I finish it in case anyone else might be interested.
I will assume the order by date will put the odd pages PDF first and the even pages PDF second, since you would scan the pages face up first, then flip them to scan face down. The script should do nothing when there is only one file in the folder, but when the second file is added, move them to a "Processed folder" to empty the watched folder, and generate the new PDF with the odd pages PDF shuffled with the even pages PDF in reverse order. My plan is to set this up as a Folder Action using the convert postscript to PDF script as a template. In the shuffle function I made a simple change to add the second PDF pages in reverse order. System/Library/Automator/Combine PDF Pages.action/Contents/Resources/join.py a combination of a Folder Action script, and a customized version of the Combine PDF Automator action, which basically is a python script driving the CoreGraphics framework, join.py perl driving ghostscript, well GNU software installed via fink. Update: I figured out a way to do this with some of the utilities built-in to 10.4, although the PDFpen folks seem to have a good third-party solution as well. 2 Combine PDF Pages Locate and add this action from the PDF category of the Automator action library. Today I was sent a license agreement as a 6 page pdf file, I was asked to sign the document and send it back. Combining PDFs using an Automator Workflow. Now some of the latest multi-function duplex printers have duplex sheet-feed scanner capability so this wouldn't be a common issue for those with the newer units, but some of the older models, I just got an older refurbished Brother MFC-8660DN from since it has OS 9 and OS X drivers, and it can only scan one-sided even though it can duplex print, the new models only have OS X drivers. Once that window opens up, drag the ow file there. I am still trying to get a more turn-key package wrapped around this so it's easy enough that a Caveman can do it.
It just requires some manual work to open the file in the PDFpen app, then run the Apple Script, then select the even page PDF. I was able to edit their Apple Script to reverse the pages of the even page PDF and it assembles the two PDF scanned files in the correct order. I came across a demo version of PDFpen, a fairly well AppleScript-able app, and their tech support e-mailed me an Apple Script which was basically equivalent to the shuffle pages option of the Automator workflow action. That looks like a good alternative for short PDF's, I am looking for a scriptable capability so I don't have to drag and drop pages in the correct order. Your folder structure should now look like: Note that there is a small text label below this section which gives you an example of how the filename will look after this modification.Thanks BD. SImple, easy and best of all, I was able to arrange the files in any order…nice! Nick – October 7, Reply.
Automator for Mac OS X: Tutorial and Examples I’m glad my post inspired you, and it’s great that you have taken the initiative to make things a little clearer.Īubrey – May 24, Reply. Luckily Mac users have this available to them if they are using Snow Leopard.
If I have documents automafor have an odd number of pages and I want to make them all even before combining them. If you switch computers a lot work and private it could be more useful to use an online converter for this. The far left pane 1 contains categories of actions you might want to run.
I have a question: This won’t work on Tiger.
Batch-processing photos from your archive trip Miriam Posner’s Blog. Thanks so much for the tutorial and files. Only thing I found that works so far!! This is a very useful Automator script, but I am finding that the size of the resulting image-based PDF file is rather big. My PDF is much larger than the sum of its parts, and I am not entirely sure why. From the dropdown menu select Other… and go to the location you want your folder.
Experiment with what best suits your needs! If you have multiple variables, they are available based on their position in the workflow: You can find Brooks on Twitter at documentsnap or brooksduncan. Open up Xcode, select some text, and right click.
Automatically combine PDFs using Automator on a Mac I am having the same experience: If you chose a different text editor, you might have to instruct the text editor to create a new document before pasting the code. There is a single parameter for indicating whether the.
We’re going to use a Mac OS X tool called Automator to set this up.