Skip navigation
1monica
Currently Being Moderated

Converting tiffs in folders to single PDF

Jul 31, 2012 3:58 PM

We have Adobe Acrobat Pro - Our tiff files are arranged in subfolders (where each tiff is a single page of a book) and the subfolder represents a single book in a larger collection. I'm looking for a way to batch convert each subfolder of tiffs into a single PDF per subfolder.

 

The steps File>Create>Combine files into PDF or >batch create mulitple files - each require one to manually select the folders.  I see there is a post on how to batch convert tiffs to individual PDFs (http://forums.adobe.com/message/4304409) - which is very close to what we need but I couldn't figure out the next step. We have hundreds of subfolders, and it would be great if there was a way not to have to manually select each subfolder. Does anyone know of a way to batch convert muliple tiffs into single PDF across muliple subfolders?

 
Replies
  • Currently Being Moderated
    Aug 9, 2012 8:56 PM   in reply to 1monica

    It seems to me that this is an obvious and extremely common workflow, and yet I have found no obvious way to do it from the Acrobat interface, nor as an automator workflow.  Next step: attempting to create an AppleScript that uses mouse clicks and keyboard shortcuts to accomplish this... which seems silly considering Acrobat Pro is supposed to be a professional workflow tool.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 10, 2012 2:04 AM   in reply to ludgates

    I wouldn't call Acrobat Pro a workflow tool. It is an interactive tool. It can do automation, but it is best thought of as something to process small volumes. When presented with hundreds or thousands of files, its limits as an interactive tool can become a hindrance. You're really looking at a task for something industrial (I can't suggest an Adobe product).

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 10, 2012 8:06 AM   in reply to ludgates

    What I do in such cases is to open the folder, select all (ctrl-A), and drag them to Acrobat. If you want something more automated, you will need some form of scripting. In that case, you might check out the scripting or SDK forums.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 12, 2012 4:13 PM   in reply to Bill@VT

    What I do for small sets in such cases is exactly what you suggested.

     

    What I've ended up doing in this case is create an Automator workflow.  As others are probably trying to do the same thing, I'll post my solution below.  Note that this will only work on OS X 10.5 and later.

     

    Step 1: Download the "Dispense Items Incrementally" automator action (this is the piece I was missing before).

    Step 2: Create a new workflow.  You can either create an Application, or a service.

    Step 3: Insert the Dispense Items Incrementally action

    Step 4: Insert a Set Value of Variable action, and name your variable appropriately

    Step 5: Insert a Run AppleScript action and include the following text:

     

    on run {input, parameters}

     

        tell application "System Events"

     

            return name of (input as alias)

     

        end tell

     

    end run

     

    Step 6: Insert a Set Value of Variable action, and name it differently from the previous one.

     

    Step 7: Insert a Get Value of Variable action, and select the first variable name

     

    Step 8: Insert a Get Folder Contents action

     

    Step 9: Insert a Combine PDF Pages action

     

    Step 10: Insert a Move Finder Items action, and choose an appropriate place to save the merged items

     

    Step 11: Insert a Name Single Item action, and name appropriately, using the second variable you created in the name

     

    Step 12: Insert a Loop action, loop automatically.  I set "stop after" to 999 minutes, just so it would have a fail limit (it will stop as soon as it runs out of items).

     

    Save the automator workflow, and then drop the folders containing the items onto it (or select and right click the folders and select the services action if you created a service).  Voila!  The combine is VERY fast, compared to the Adobe version -- but the result isn't as compressed (about 1MB larger for most large PDFs I created).

     

    After this, you can create an acrobat action to reduce file size if you want, and drag all your freshly created PDFs onto that item -- depending on the settings you set, you can strip out the superfluous markup, or add extra compl\ression (the more recent version you set for compatibility, the smaller the file will be, but the newer the reader you'll have to use to open it -- I find Adobe 6 is usually a good setting, some may prefer 4 if they have older PDF handlers in their workflow, or even 10 if it's only going to be used with a recent version).

     

    Message was edited by: ludgates (fixed typo)

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points