The Mac Observer

Automator: Combining PDFs by Dropping Them on a Folder

TMO Talk (31)

Automator is one of the unsung heroes of Mac OS X. With it, you can, well, automate the tasks you perform frequently and speed up your workflow. To that end, we’re going to cover how to create a folder that combines PDFs into one file when you drop them into it. It’s certainly easier than jumping through Preview’s hoops for doing the same thing, let me tell you.

So first things first—open Automator from your Applications folder. Its icon always reminds me of Marvin the Paranoid Android.

When the program opens, it’ll ask you what type of document you’d like to create. Choose “Folder Action” from the list. Folder actions are basically scripts that you can associate with a folder, so anything you put in that folder has whatever instructions you specify performed on it.

Then you’ll have to choose which folder you’d like to be your “combining PDFs” one. I usually just create an empty new folder on my Desktop to work with and then select it from this dialog box.

Now if you look at the panes on the left side of the Automator window, you’ll note that you can click on any of the categories to see what actions are available. For example, choosing “Files & Folders” will let you see all of the actions that apply to moving stuff and changing items within the Finder. There is a TON available there, so I don’t blame you if you get lost just looking through everything in wonderment.

We’ll now build our action by choosing what steps will be followed after we drop PDFs into the folder. Add the following actions either by double-clicking them from the lists on the left or by dragging them into the empty pane on the right of your window:

  • PDFs > Combine PDF Pages
  • Files & Folders > Move Finder Items. We’re adding this one because otherwise, Automator will plunk your files into weird places, and they’ll be hard to find. Make sure you tell it where you want them to end up!

  • Files & Folders > Rename Finder Items (optional). When you insert this step, Automator will ask you if you want to add the Copy Finder Items action, too. For our purposes, you shouldn’t need it, so choose “Don’t Add.”

Also on this action, you’ll need to change the drop-down menu to Name Single Item and then specify what you want the basename (i.e., the part of the file name that doesn’t include the extension) to be.

  • Files & Folders > Open Finder Items (optional). This’ll open the created PDF into whatever your default program for that is unless you configure something different. I like to see my finished product when it’s done, so I always add this action.

Hit Command-S to name and save your file, and you’re finished! That was pretty easy, right?

Now let’s try out our handiwork. If you grab a few PDFs and drop them into that folder, you should see a spinning gear appear in your menu bar at the top of your screen. Assuming your task takes long enough for you to get up there, you can click on that gear to see the progress. 

Your shiny new PDF will then be saved to the location you selected and will open in your PDF program (or not, depending on what you chose). Eureka! We’ve done it! Now that we know our fancy PDF folder works, we can drag its shortcut into the Dock for an easy place to drop things, or we can just stick it somewhere else convenient. It’s like a magic portal to a happy world where all PDFs are one.

Now that you’ve created your first folder action, there are a few final things to know. You can manage what folders your action is applied to by right-clicking or Control-clicking on a folder and then choosing Folder Actions Setup. Use that to apply an action you’ve created to a different folder or to remove an existing one. If you don’t see that option in your contextual menu, though, go to System Preferences > Keyboard > Keyboard Shortcuts > Services to toggle it on.

Another thing to know is the default order that your PDFs will be combined in—it’s alphabetical by file name. So if you’d prefer one PDF to be first in your new file, add a space to the beginning of its name to force it to always be combined as the first page. This is a great way to use a cover page on PDFs you send often, for example.

So now that you’ve all been given this brief introduction to Automator, I fully expect you to give us some good thoughts on using it. What’s your favorite workflow to create? Virtual cookies to anyone who enlightens us all with ideas in the comments of this article. And by the way, virtual cookies fit in with almost any diet. Except perhaps for those of us who sit in front of computers all day.

I’m going to the gym now after thinking about that.

Post A Comment or Log-in. Need an account? Register here.

4 Observer Comments

Totally Off Topic Warning.

Melissa, you’re thinking of the impostor Marvin.

The original BBC Marvin was the real deal, although I did enjoy Alan Rickman’s voice work for the second Marvin

Marvin’s Lullaby:

Now the world has gone to bed
Darkness won’t engulf my head
I can see by infra-red
How I hate the night
Now I lay me down to sleep
Try to count electric sheep
Sweet dream wishes you can keep
How I hate the night

Hi furbies,

Funnily enough, that’s sort of how I pictured Marvin when I read the book, so the BBC depiction looks quite off to my eyes. But I’m strange, so you can’t go by me.

—Melissa

the BBC depiction looks quite off to my eyes

I’m old enough to have watched the BBC variant first before Smaltzywood got it’s hands on the franchise.

I’m old enough to have watched the BBC variant first before Smaltzywood got it’s hands on the franchise.

Me too, barely. ::fist bump::

Post A Comment or Log-in. Need an account? Register here.
 

Recent Headlines - Updated May 27th

Sat, 10:00 AM
MacOS KenDensed - MacOS KenDensed: Apple’s Patent Lawsuit & Antitrust Shuffle
Fri, 5:58 PM
News - Sotheby’s to Auction Steve Jobs Atari Memo (Photo Gallery)
5:42 PM
Free on iTunes - 3 Free iOS Apps for News Hounds
3:00 PM
Rumor - Nest Thermostat Reportedly Coming to Apple Retail Stores
2:40 PM
Particle Debris - The TV Industry’s Dreadful Little Secret
2:33 PM
News - Mobile Devices Account for 20% of Web Traffic in US, Canada
12:49 PM
News - Apple Now Offering “Free App of the Week” for iOS
12:21 PM
News - Tim Cook Declines $75 Million Dividend Payout
11:25 AM
News - Absinthe 2.0 Provides Untethered Jailbreak for iOS 5.1.1
11:09 AM
Quick Look Review - F18 Carrier Landing (iOS) is a Boatload of Fun
10:51 AM
TMO Appearances - Jeff Gamet talks Cool Apps & Accessories on Not Another Mac Podcast
10:12 AM
Hot Forum Topic - Forum Poll: Which is Your Favorite Photo Sharing Service?
 

The Mac Observer Reader Specials

  • Macsales for the Right Mac Memory. Easy to Use Online Guide for no Guesswork! Mac Pro up to 128GB, iMac up to 32GB. MacBook/MB Pro, & Mac mini up to 16GB. - Macsales.com
  • Mac RAM Upgrades: MacBook Pro 16GB kits $475, 8GB Kits for $119.99! iMac 16GB RAM Kits (4x 4GB) for $229.99! Mac Pro Memory 32GB Kit for $399.99, 64GB Kit for $889.99! Mac Hard Drives 2TB Seagate SATA II for $249.99! Click Here!
  • Macpokeronline.com If you're using a Mac, then you've gotta check out PokerOnAMac.com. Online casinos and poker rooms are literally giving away cash and the casino sites at Poker on a Mac do the unthinkable, they actually reward! Join today, the download is free!
  •  Looking to find online casinos for mac? We can help you find the best real money casino sites where you can play your favorite casino games including blackjack and slots.

Apple Stock Quote (AAPL)

Loading...

Hot Topics

TMO Express

Join the TMO Express Daily Newsletter to get the latest Mac headlines in your e-mail every weekday. Find out more!

Top Deals From DealBrothers.com

Recent Features

Support The Mac Observer

We noticed you may be running AdBlock on your computer. It takes real money to run this site and to deliver the news, tips, and opinions you love to read.

If you wish to block the ads that pay for the creation of our content, we ask that you instead support TMO Directly, either with a $5 monthly recurring contribution, or a one-time donation of any amount of your choice. Thanks!

Subscribe with Paypal Donate with Paypal