
(Basically that is going through the PDFs that you are splitting and copying the folders that they are stored in.) Repeat with itemNum from 1 to count of inputĬopy POSIX path of (container of (item itemNum of input)) to end of pathList In the Run AppleScript window, paste in this code: Drag it to the main window under our last step. Still in the Utilities section of the Library on the left, find Run AppleScript. Note: if you’re an Automator expert and know a better way to do this, please leave a comment! I could prompt the user to choose a path, but I wanted to make it automatic so we have to get a bit geeky. It doesn’t make it easy to save the resulting PDF to the same folder as the original. We are doing this step because of a weird way Automator works. Here’s what the first rule looks like so far. In the Variable dropdown, choose New variable… and call it originalPDFs. Now in the Library section on the left, click on Utilities and then find Set Value of Variable.

I haven’t tested it in other applications. Automator Choose Service Set The Variable For The Original PDFsĪt the top of the window at the right, change the Service receives selected dropdown to PDF files. In the window that pops up, highlight Service and then hit Choose. In Finder, go to Applications and then start Automator.
Mac os combine pdf flies how to#
If you have seen my How to Split PDFs tutorial, this is basically the reverse.

Mac os combine pdf flies mac os x#
We’re going to use a Mac OS X tool called Automator to set this up.
