Using Automator to Batch Create PDFs

I've been trying to find a way to make an Automator workflow that will take the name of a folder and combine it's files into a PDF with as little manual input as possible and have finally figured out how to do so. I've seen others ask how to do this for a while so I wanted to share how I did it.
Why would you want to create PDFs? If you have scanned books, photos, documents or anything else on your Mac, you can create PDFs out of them. You can then store these in iTunes and either read them using Preview on your Mac or iBooks on your iOS device.
What this workflow will do:
Take a folder with images, get the folder's name, and create a PDF of the images with it's name.
On the next pass of the workflow, it will send the previous folder to the trash.
Create/have a backup of your files!
Create a folder somewhere that you can drop your folders in. Name it Automator Dropbox. You can create one wherever you want, but this workflow was created with Automator Dropbox in mind so you'll need to change it as necessary.
Open Automator and create a new workflow.
Find Finder Items
- Search Automator Dropbox
- [All] of the following are true:
- [Label] is [Red]
This will search for any folders that were done before.
Move Finder Items to Trash
This will move the previous folder/files to the trash.
Ask for Finder Items
- Prompt: [Choose a Folder]
- Start at: Automator Dropbox
- Type: [Folders]
This will ask you to choose the next item to convert to PDF.
Set Value of Variable
- Variable: pdfvariable
This will take the name of the folder you just selected and use it to to rename your PDF.
Label Finder Items
- [Red]
This will mark the folder you're working on for deletion the next time the workflow is ran.
Get Folder Contents
This will grab all the image files within the folder so that it can create a PDF out of them.
Scale Images
- To size (pixels): 1600
This will scale the maximum dimension of your image down (or up) to 1600px. I find this to be the sweet spot for performance on the iPad 3, and it looks just fine. If the maximum dimension of your image is lower than 1600px, I'd create a duplicate workflow of this and leave out this step; otherwise you will be upscaling and your image won't look as good. You can also leave this step out if you want your original image size kept, but on the iPad 3 and below there will be a delay going from page to page.
New PDF From Images
- Save Output to: [Desktop]
- Output File Name: tempname
This will save your finalized PDF to the Desktop. You can change this to whatever you want; I would suggest the Automatically Add to iTunes folder located in [Music > iTunes > iTunes Media > Automatically Add to iTunes]. You will find your PDF in the Books category in iTunes.
Rename Finder Items
- [Replace Text]
- Find: tempname in [Full Name]. Ignore Case checked.
- Replace: [pdfvariable] (Drag pdfvariable from the variables window into the text field for "Replace". If you don't see the variables, go to "View > Variables."
You can't just drag the variable into the PDF name field in the step above, so this extra step is necessary. It will rename your PDF with the name of the folder it was created from. It will also add the full file path, which will be taken care of in the next step.
Rename Finder Items
- [Replace Text]
- Find: Users/yourname/Documents/Automator Dropbox in [Full Name]. Ignore Case checked.
- Replace: LEAVE EMPTY
This will delete the name of the path from the name of your PDF. If your working folder is not Documents/Automator Dropbox, change it to whatever that is.
If you're running this workflow on a bunch of folders, you can simply keep your cursor over the workflow's play button and press the right arrow + enter to select the next item in queue. This workflow was made for using a little human interaction as possible, so if anyone has suggestions on how to improve on it please post below.
One last thing - if you're seeing a red folder when you run the workflow to choose a folder, it's because spotlight hasn't indexed it yet and the workflow could not find it to delete it. Just go on to the next item.

Someone (not me) has created an automator workflow that does this, using a shell script that runs the "pstopdf" unix command. I just downloaded it and tested it on 10 .eps files. You will need to edit the first automator action in the workflow to find the eps files you want (by default it looks for all eps files on your computer), but once you do that, it works like a charm! Converted my eps files to pdf's. Of course, once they are pdf files, you can use automator to convert them to whatever format you want.
http://mad-sci.blogspot.com/2007/12/why-i-hate-computers.html
(link to the actual zip file containing the workflow below)
http://www.physics.mcgill.ca/~burkes/code/PDFworkflows.zip

Similar Messages

  • Batch creating PDF/A

    Hello!
    I'm running Acrobat XI on Mac OS 10.8.3, and I'm trying to batch convert Word docs to PDF/A.
    Is there a way to change the settings so that I'm creating PDF/A rather than PDF when using the "batch create multiple files" option?
    Or is there a better way to do this?
    All suggestions appreciated!

    Check under Edit>Preference>Convert to PDF and check the preferences for WORD. Edit the settings file if found there (sorry, I don't have WORD on this machine to be able to check).

  • Batch create PDFs

    HI, I want to batch create multiple pdfs from tiff originals in multiple folders. I used to use Adobe capture but no longer available. What replaced it or can I do the same thing in Acrobat X pro?

    Dear Bernd,
    thanks for the hint. I tried to do that but without success. Maybe I do not understand it completely. I did the following:
    1) copy the word documents and subfolders to the Destination. Then I ran the Action. (Destination was a different Folder, not the source)
    2) same as 1), but source and Destination Folder was the same.
    In both cases I have ALL the pdf-documents directly in the top Destination Folder.
    Do you have an idea where my mistake could be?
    Kind regards,
    Mathieu

  • Using Flash/Actionscript to create PDF Portfolio Navigator

    Hi Guys
    We've been using Acrobat Pro Extended to create PDF
    Portfolio's for a wee while now, and now in order to create a
    'fresh look', my boss is wanting to create custom navigators.
    As the programmer of the team, I've looked into it and found
    out that it involves Actionscripting/Flex. While I'm a decent
    enough programmer, Actionscript isnt something I've used before, so
    I was wondering if there were any online guides or books I could
    buy that
    specifically show how to create a customer navigator for a pdf
    portfolio.
    Any help you can provide will be much appreciated.

    I also have the same goal except I am not even a decent
    programmer. I am actively looking for a place to download the
    working Carosel that is kind of advertised as a capability of
    Acrobat. Even if someone was selling it...I just wanted to chime in
    for support on the topic.

  • Using Flex/Actionscript to create PDF Portfolio Navigator

    Hi Guys
    We've been using Acrobat Pro Extended to create PDF
    Portfolio's for a wee while now, and now in order to create a
    'fresh look', my boss is wanting to create custom navigators.
    As the programmer of the team, I've looked into it and found
    out that it involves a combination of Flex and/or actionscripting.
    While I'm a decent enough programmer, Actionscript & Flex
    are'nt tools that I have used before, so I was wondering if there
    were any online guides or books I could buy that specifically
    show how to create a customer navigator for a pdf portfolio.
    Any help you can provide will be much appreciated.

    I also have the same goal except I am not even a decent
    programmer. I am actively looking for a place to download the
    working Carosel that is kind of advertised as a capability of
    Acrobat. Even if someone was selling it...I just wanted to chime in
    for support on the topic.

  • How to use Automator to batch convert xls/xlsx files into tab OR pipe delimited text file.

    If you have answer, please provide specific and detailed steps.
    Situation 1:
    Start:
    150+ files in .xls OR .xlsx format
    data contains many characters EXCEPT "Tab"
    Process:
    Use Automator to:
    Select Files from Finder window
    Convert selected files from xls/xlsx to TAB-DELIMITED file format
    End:
    150+ files in .txt format
    files have identical names to those from "Start:"
    data is TAB-DELIMITED
    Situation 2:
    Start:
    150+ files in .xls OR .xlsx format
    data contains many characters EXCEPT | (pipe, vertical bar)
    Process:
    Use Automator to:
    Select Files from Finder window
    Convert selected files from xls/xlsx to |-delimited file format
    End:
    150+ files in .txt format
    files have identical names to those from "Start:"
    data is "|"-delimited

    If your post is addressed to my response then the answer is you have to write your own or search on-line to see if something exists to do what you want.
    As you note there is no pre-built script for this.
    regards
    Message was edited by: Frank Caggiano - Are you certain there isn;t something in Excel to export as a tab delimited file?
    This link Convert An Excel Spreadsheet To A Tab Delimited Text File seems to indicate that the function is in Excel already.

  • Batch create PDF from multiple InDesign documents

    Is it possible to create PDF files from multiple InDesign documents, or is there perhaps a script that can do this?

    Thanks for this script, it works wonderful.
    It saved me a lot of time.

  • How can I use Automator to batch convert files of various formats into pdf files?

    I am very much a novice.  I need to convert approximately 10,000 documents into pdf format.  (No, I'm not exaggerating.)  I have searched and found various Applescripts that will do it for Word documents, but have even been unsuccessful using those.  Each of my attempts ends up with some sort of error.
    The documents are in mixed formats:  Excel, Word, PowerPoint, OpenOffice (.odt), and .jpeg,   I even have some Clarisworks/Appleworks files, but those I'm happy to deal with separately if need be.

    I am very much a novice.  I need to convert approximately 10,000 documents into pdf format.  (No, I'm not exaggerating.)  I have searched and found various Applescripts that will do it for Word documents, but have even been unsuccessful using those.  Each of my attempts ends up with some sort of error.
    The documents are in mixed formats:  Excel, Word, PowerPoint, OpenOffice (.odt), and .jpeg,   I even have some Clarisworks/Appleworks files, but those I'm happy to deal with separately if need be.

  • Error using MIF doclet to create PDFs

    I have been attempting to use the dzbatcher program with framemaker and the java MIF doclet. Unfortunately, there is an error that will not allow the MIF doc to be saved as a pdf, the MIF files are created correctly.
    Executing: dzbatcher -makername framemaker C:\JavaCode\VSan2.0\vsan\doc\customer\mif\mif-to-fm.batch...
    starting maker ...
    Waiting for Frame results... done.
    Waiting for Frame results...
    Frame reports error -42:
    Cannot save file [C:\JavaCode\VSan2.0\vsan\doc\customer\fm\api.book.pdf]I have FrameMaker 5.5 and Acrobat Distiller and Exchange 3.1.
    Any help would be deeply appreciated.
    -Dustin

    I've never encountered error -42. I've been bugging Adobe
    for a list of descriptions for their numbered error message
    to no avail.
    The way to troubleshoot the batch file is to execute
    the dzbatcher command with the -v (verbose) option
    on the mif-to-fm.batch file:
    dzbatcher -v C:\java\pubs\docs\mif\mif-to-fm.batch
    This should echo every statement, so you can see where the
    problem is occurring.
    You might contact us for possible access to an early
    release of the next version, which has some fixes in this
    area. Write doccheck-feedback at java.sun.com.
    If those ideas don't work, you could also follow EJP's advice,
    or you could try sending email to dzbatcher at datazone.com.
    They wrote dzbatcher and are pretty responsive.
    We've had pretty good luck using dzbatcher with the default
    template of the MIF Doclet.
    Please let us know how you get it to succeed in case I can
    pass along the pointer to others.
    -Doug (Hi Esmond)

  • Automated Scripting to create PDF

    Ok -- I am new here but I have been using InDesign for several years. I have CS4
    (Windows) and the EasyCatalog plugin. I currently create directories using EasyCatalog pulling from a SQL database. I would like to be able to have these directories created daily and placed in a pdf format for users to view. Can this be done with scripting? If I am not being clear, I apologize. I am not sure of the technical terms myself. I know very little programming.

    Sounds to me like you would need a scripted solution.
    That would be something like this Javascript.
    Warning! Very basic; it assumes the index lives in a story of its own, and all numbers in it are page numbers, and all other pages reside in the same document, and page numbering starts at 1. Anything beyond this (documents gathered in a Book, or weird page numbering, or not-every-number-is-a-page-number) complicate stuff. The only sane check is if the number is actually in the page range.
    app.findGrepPreferences = null;
    app.findGrepPreferences.findWhat = "\\<\\d+\\>";
    list = app.selection[0].parent.findGrep();
    for (l=0; l<list.length; l++)
         if (list[l].contents > 0 && list[l].contents <= app.activeDocument.pages.length)
              hdest = app.activeDocument.hyperlinkPageDestinations.add (app.activeDocument.pages[list[l].contents-1]);
              hlink = app.activeDocument.hyperlinks.add (app.activeDocument.hyperlinkTextSources.add(list[l]), hdest);
              hlink.name = "#"+l+" to page "+list[l].contents;

  • Why is PDFMaker using faux italics when creating pdf from Word?

    Hi,
    I have a word 2013 document using an opentype font, namely The Sans. Some of the words using that font are in italics.
    If I print (Ctrl+P) the document to Adobe PDF, the pdf looks fine, and the fonts embedded in the PDF as reported by Acrobat are The Sans and The Sans Italic.
    But if I use the PDFMaker plugin, the words in italics use some kind of faux italic, where the regular letters are just slanted. The font embedded in the PDF as reported by Acrobat is only The Sans.
    I got sick of trying every possible parameter in the Word plugin, any idea of what to? Printing the document top pdf and then adding all the bookmarks by hand would be excruciatingly tedious.
    I could also open the PDF in acrobat and select every occurence of an italic word, then re-set it to italic, which then uses the right italic version of the font, but come on...
    Best,

    Basically using the printer will always embed and use the italic font, e.g. with the standard, press or high quality print settings. Even though there is a checkbox ticked by default named "Rely on system fonts only; do not use document font", the result does not seem to change if this box is ticked or not.
    If I use PDFMaker, no matter what settings I use I end up with the regular font being simply slanted. I even tried setting compatibility with Acrobat 1.7 and checking "Embed Opentype fonts".

  • Using Qt printer to create PDFs

    Hi,
    Is there a way I can add Qt printer into my Cascades project to make PDFs? Or is there another way to make PDFs without using webview and having user connect to Internet?
    Solved!
    Go to Solution.

    Better to ask in the Cascades developer forum.
    Files & Folders, the unified file & cloud manager for PlayBook and BB10 with SkyDrive, SugarSync, Box, Dropbox, Google Drive, Google Docs. Free 3-day trial! - Jon Webb - Innovatology - Utrecht, Netherlands

  • Batch Rename of External Drives Using Automator

    OK...So this is my very first mac and I have only been using it for 3 days. I am using Automator to batch copy files to an external USB flash drive, then Eject the drive. But I also need to be able to RENAME the device, BEFORE I eject it. We are receiving a shipment of 1000 USB flash drives so manually renaming each device will be a LARGE task. Having it automate with the file copy will be much better. Since I am new to Mac, I have no idea how to create an Apple Script to rename a USB disk. Any assistance you can provide is much appreciated.

    there is "rename finder items" action but for some reason it doesn't work on disks when I try it. but you can always do it using "run apple script" action.
    something along the following lines will do it but you'll have to adjust it according to your situation. it will rename the first item passed into this action.
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px;
    color: #000000;
    background-color: #ADD8E6;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    on run {input, parameters}
    set this_item to (item 1 of input as alias)
    tell application "Finder" to set name of this_item to "the name you want here"
    end run</pre>

  • How do I use auto-form recognition to create PDF forms in Acrobat XI?

    I used to use Acrobat 9 to create PDF forms that would allow me to fill in text into the fields that were created.  Acrobat XI seems to have changed the way this function is performed.  Previously, I could run an auto form recognition wizard, do some minor tweaking, and be done.  Now, when I attempt to follow the process in Acrobat XI, I get the following message that pops up:  "No new form field annotations were detected.", and no fields get created.  I could do this manually, but the process of doing so is very clunky and cumbersome.  Once I create a new text field, I must then go back and resize it.  This would not be a problem if I was only working with a few fields on a single page, but I have a six page document with multiple fields to create (text fields, check box fields, etc.).  Perhaps I'm missing something, but there seems to be no simple way to do this anymore.  It's making me want to just install Acrobat 9, so that I will have back the feature that I used to have.  I'm using Acrobat XI on Mac, but I'm assuming the function should be the same in Windows.  I can use Preview on the Mac to simply type in the text that I need, but I was hoping to pass along the PDF so that others can use it as well.  This is not just a one time thing.

    There are no APIs for C# and external applications for this conversion.  There is however an API for Acrobat plugins to perform this operation.   So, if necessary, you could write a custom plugin (that calls the API you need) and expose that via some form of IPC to your C# app.

  • Acrobat 9 Pro - Batch Create Multiple Files from InDesign CS5 files

    When attempting to batch create PDFs from Indesign CS5 files using Acrobat Pro 9's File>Create PDF>Batch Create Multiple Files ... option the operation fails with the error 'Could not find the application that created this file: [path to file] Please select a file created by an application that resides on your computer.' as shown in the screenshot below:
    Acrobat 9 Professional was bundled with Creative Suite 5 Design Standard so shouldn't this work? My machine is running OS X 10.6.7, Acrobat Pro 9.44 and InDesign CS5 7.04.
    Any help to solve this issue would be most gratefully received - this feature had previously saved me a lot of time on my old machine with 10.5.8, Acrobat Pro 9 and CS4.

    I have uploaded the files and shared them.  These are the links
    Grade 11 Maths Standardisation Project Paper 2 2013.doc
    https://files.acrobat.com/preview/9694310d-ca7f-4919-883d-c53b36215d89
    Grade 11 Maths Standardisation Project Paper 2 Analysis Grid 2013.doc
    https://files.acrobat.com/preview/97da9e5f-d412-4d25-9bbc-d1a525d90826
    Grade 11 Maths Standardisation Project Paper 2 Diagram Sheet 2013.doc
    https://files.acrobat.com/preview/f50dd62e-af04-4060-85c5-fa81ce6803d8
    Grade 11 Maths Standardisation Project Paper 2 Formula Sheet 2013.doc
    https://files.acrobat.com/preview/7fc6007b-aaa6-4d65-9a8c-bf99818474a5
    Grade 11 Maths Standardisation Project Paper 2 Marking Guidelines 2013.doc
    https://files.acrobat.com/preview/b3a715bb-3683-48df-b0ec-3d17442275be
    Grade 11 Maths Standardisation Project Paper I Analysis Grid 2013.docx
    https://files.acrobat.com/preview/ab62e6b6-0261-434e-8a2f-382f74335685
    The first file is the problem file.  If you create this file separately, Acrobat will convert it perfectly.  But "Batch create multiple files" and the graphics are deconstructed on page 8

Maybe you are looking for

  • Explain Plan of a query.

    I want to know the concept of this 'Explain Plan' of a query & why it is used. Could u also give the syntax of how a explain plan for a query can be done. Please help in solving the doubt as it is urgent.

  • Sorting on one-to-many relationship with JPA criteria API

    I'm having some trouble using JPA criteria API with collection references. I have an entity called Competence that has a one-to-many relation to CompetenceName that contains names for Competence for several languages. [Competence.java] @OneToMany(map

  • Amount of data over  db link

    How can i measure how much data is being retrieved over a db link ? I have several queries, which are run at regular intervals to pull stats from one database to another so I can report on (such as tablespace sizes, memory stats and such like). But m

  • How do I uninstall this software?

    Ok so I downloaded frostwire version 4.18.3 , java 1.5.0_20 I don't like the way it makes my emac work. I would rather just get rid of the whole entire install and leave non of the spy files behind. Dragging the logo to the trash does not remove all

  • Buffered ring acquisition with IMAQ 1394 2.0 (beta)

    Hi, the IMAQ 1394 low level buffer access topic comes up again. National Instruments promised that low level buffer access will be feasible in the 2.0 (beta) version of the IMAQ 1394 driver. However, I still encounter problems. I want to run a contin