Combining PDFs - PLEASE HELP

Hello This is my first post with apple discussions. I hope you can help me with my problem. I have lots of pdfs (~2600) that need a cover page added to them that is unique to each pdf. i have the cover pages named the same as the original pdfs in a separate folder. how can i use apple automator to look at both folders and combine the two pdfs (Cover Page to beginning of original pdf) that have the same name and save the result to a third folder with the file name of the original pdf?
Thanks
TEWC

Maybe you might want to try the following script.
Since the script uses [GUI Scripting|http://www.macosxautomation.com/applescript/uiscripting/index.html], you should first enable the Accessibility Frameworks by clicking the checkbox labeled "Enable access for assistive devices" in the Universal Access System Preference pane.
In its current state, the script assumes the three involved folders are located on the Desktop.
*set theDesktop to path to desktop*
*set F1 to choose folder default location theDesktop with prompt "Select the folder containing the PDF documents."* -- the PDF documents
*set F2 to choose folder default location theDesktop with prompt "Select the folder containing the cover pages."* -- the PDF cover pages
*set F3 to choose folder default location theDesktop with prompt "Select the folder where to put the final PDF"* -- the final PDF documents
*tell application "Finder"*
*   set N to (count files of folder F1)*
*   set folderName to name of folder F3*
*end tell*
*repeat with k from 1 to N*
   try
*      tell application "Finder"*
*         set theDocument to (file k of folder F1) as alias*
*         set theName to name of result*
*         set theCoverPage to (file theName of folder F2) as alias*
*      end tell*
*      tell application "Preview"*
         activate
*         open {theCoverPage, theDocument}*
*         tell application "System Events" to tell window 1 of process "Preview"*
*            click radio button 2 of radio group 1 of splitter group 1* -- Thumbnails
*            select images of UI element 1 of scroll area 2 of splitter group 1*
*            keystroke "p" using {option down, command down}* -- “Print Selected Page…”
*            click menu button "PDF" of sheet 1*
*            click menu item "Save as PDF…" of menu 1 of menu button "PDF" of sheet 1*
*            keystroke theName*
*            if value of checkbox -1 is 0 then click checkbox -1*
*            click radio button 2 of radio group 1 of group 2* -- show by list
*            keystroke "d" using command down* -- select Desktop
*            tell outline 1 of scroll area 2 of splitter group 1 of group 2*
*               select (row 1 whose value of static text 1 is folderName)* -- select folder F3
*            end tell*
*            keystroke return* -- open F3
*            keystroke return* -- save
*            delay 0.2* -- adjust if necessary
*            if button "Replace" of sheet 1 exists then*
*               click button "Replace" of sheet 1*
*            end if*
*            delay 0.2* -- adjust if necessary
*            repeat while sheet 1 exists*
*               delay 0.2*
*            end repeat*
*            keystroke "w" using command down* -- close front document
*         end tell*
*      end tell*
*   end try*
*end repeat*
Please let me know if the script doesn't work as expected.

Similar Messages

  • Embedded Quicktime not playing correctly in InDesign PDF - please help!!

    ok - I have an issue that I can't work out and I'm hoping someone can help - tried searching for an answer to no avail. I've just built my first interactive PDF portfolio in InDesign. I should point out that I'm a producer/editor, so my knowledge of InDesign & Acrobat is not extensive. The PDF includes some embedded Quicktime movies. The movies play normally on one of my monitors (Samsung 1680x1050), but will not play correctly on my other two monitors (2x Samsung 1280x1024) - the audio plays and the play controller appears to be working but the video area is just all white...HOWEVER...if I open the PDF and play just one of the videos on my 1680x1050 monitor first, then all videos play correctly on all monitors. Have tried opening the PDF on another desktop and the movies do not work (in the same manner as above)- also tried on my laptop and the movies play correctly. Please help if you can - I need to get this out to clients and I'm baffled!! Thank You!

    Is it as easy as wmode: transparent after shoving the swf into a table??? does the transparent option make everything outside the table dissappear? thanks...

  • EXPORT PDF PLEASE HELP!!!

    I just purchased ExportPDF and I dont know how to open a PDF form I was sent by email from my University, Fill out the form and send it back.  It wont let me save any changes, share the form in an email, anything!! I dont even know if im opening the form in the right way??
    please help, im on a time crunch!!!!!!!

    You don't need ExportPDF to open a PDF document or fill out a form; just the free Adobe Reader will do.
    What is your operating system?  Have you saved the PDF to your local disk, or are you opening it in a browser?  If so, what browser?

  • Unable to use Adobe Reader on some PDFs -- Please Help

    Hi.  I have a new HP laptop.  It uses Windows 7.  I have Adobe Reader -- I had 9.0 and was having problems so took it back to the store and they have now loaded 9.3.  It is hit or miss on opening some pdfs.  The only error message I get is that "there is a problem with Adobe Acrobat Reader.  Please try again.  I am not technically oriented, and this is very frustrating.  I tried to call Adobe and they said that I need to work off of this forum.
    Thanks in advance for any help you can give me.
    Jay Copan

    weshuptrine wrote:
    I can use Adobe Reader on some documents but not all.
    Are these scanned documents?  If scanned documents have not been OCR-ed, then they are just images without any searchable text.
    Try if you can highlight any text in such documents.

  • Cannot convert Word to PDF - please help?

    Hi I am running Windows XP, Office 2003 and Acrobat Writer 5.
    I've had the same setup for five years and have always been able to covert Word documents to PDF like this:
    File/print - then I select Acrobat PDF writer from the list of printers, and click "print to file" and it's done.
    I've created thousands of PDFs in this way. I've also reformatted my hard drive and re-installed all the same programs again, and always been able to print to PDF.
    Last week I again reformatted my hard drive, and re-installed all the same programs that I have always had. I have changed nothing, absolutely nothing about the setup of the computer.
    However, NOW when I click file/print from Word, there is no longer Acrobat PDF writer listed!
    And so I cannot convert to PDF.
    Can anyone please tell me how to get Acrobat back into my list of "printers"?
    Thanks

    As I recall, Acrobat Distiller and Acrobat Writer are 2 different print drivers available with AA5. The Writer is not installed by default and is not recommended. It was almost not included with AA5 as I recall. It is no longer included with any distribution. The Acrobat Distiller printer (now renamed as the Adobe PDF printer) is the preferred method of printing with AA5. This latter process creates a PS file and then (using AcroTray running in the background) calls Distiller to complete the conversion from the PS file to the final PDF file. There are several options available under the list of settings. These can be set in the Acrobat Distiller printer properties and generally override the settings in Distiller. You can further make changes for the current printing in the printer properties menu of your current application.
    Hope that helps explain what you have found. I still have AA5 running on XP. I also have a newer reader installed because of the limitations of reading some of the newer PDF files with AA5. I try to be careful with how I use Reader and AA5 as they can cause conflicts in what is used to open a PDF, and that is why this configuration is not recommended.

  • Font no longer legible in .pdfs: Please help!

    I have a question and I am not even sure I am asking in the correct forum, but I hope someone can either answer my question or direct me to right place.  For more than a year I have been creating documents in Office Publisher, saving them as a pdf file and then e-mailing the file to several recipients.  It has recently come to my attention that the document is now coming to some of them as unreadable.  The font comes across as a "smear" of text.  I have used the same font for years, Lucida Casual, and this has never been a problem until the last week or so.  It appears to only be a problem when the recipient is reading the document on an Apple/Mac.  I have tested it on other PCs which I know do not have the used font installed and it still looks fine, but when trying to read it on a Mac laptop or Iphone the text is a blur.  As far as I know nothing has changed on my end.  I am still using the same computer…PC with Win XP, Office 2007 Publisher, saving the files exactly as I have been for more than a year, but now even pdfs created more than a year ago which contain Lucida Casual are no longer legible on Apple products.  I know that I could simply change fonts and maybe get rid of this problem, but I would rather not do that.  I have been using Lucida Casual as my “default” font for years and years and I like the bit of flair it has and that I can reduce the size down to as small as 8 and still find it very readable.  Looking forward to hearing your thoughts on this matter!  Thanks so much!

    Hi, thanks for your reply and sorry that it took me so long to reply! 
    1. The documents I am creating are generally in Microsoft Publisher and I use that program to publish the documents as a .pdf.  (Same way I have always done it.)
    2. Various applications.... for instance on my Iphone, I had saved the document to Dropbox, I can't read it on my phone from within Dropbox or any other app that normally "reads" .pdf files.  I also tried e-mailing the document to myself and opening it on my Iphone...still no luck.  Another person tried to read it on their Mac desktop, but not sure with what program and still no luck...he was the one who first brought it to my attention. 
    3. On another PC which I know doesn't have the font installed it looks just fine using Google Docs or Adobe Reader 10.1.3.
    My theory about it only being eligible on Apple products is no longer valid however because one of the peole that I sent it to said all was fine until 2 weeks ago and he is a dedicated PC user. 
    I will e-mail you the .pdf file right away.  Thanks so much for your help in this matter. 

  • I cannot get a WindowsForms user control hosted in WPF/C# to show() PDF please help

    I have a WPF C# .NET 4.0. solution in VS2010 on Windows 7.   It contains a WPF hosting project and a WindowsFormsControl project where I've created a UserControl that should display an Acrobat CAcroAVDoc object from the Interop.Acrobat SDK com object (latest).
    The WPF Project contains this code to open a file which actually creates a new WindowsFormsUserControl (PDFViewerControl) that in turns opens the file, the UserControl is then added to a WindowsFormHost object in WPF main form.
    private void OpenFile(FileItem file)
    if (file.Extension.ToLower() == ".pdf")
      System.Windows.Forms.Integration.WindowsFormsHost host = new System.Windows.Forms.Integration.WindowsFormsHost();
      WindowsFormsControls.PDFViewerControl viewer = new WindowsFormsControls.PDFViewerControl();
      viewer.Show();
      Boolean result = viewer.OpenFile(file.Path);
      if (!result)
       MessageBox.Show("Error opening document");
      host.Child = viewer;
      this.pdfViewWpf.Children.Add(host);
      viewer.Show();
    The PDFViewerControl OpenFile method contains this code and returns True when opening a PDF document via OpenInWindowEx.
    public Boolean OpenFile(String filename)
    CAcroAVDoc doc = Activator.CreateInstance(Type.GetTypeFromProgID("AcroExch.AVDoc")) as CAcroAVDoc;
    bool res = doc.OpenInWindowEx(filename, this.Handle.ToInt32(), 2, 1, 0, (short)Acrobat.PDViewMode.PDUseBookmarks, (short)Acrobat.AVZoomType.AVZoomFitWidth, 0, 0, 0);
    return res;
    Unfortunately though the PDF cannot be seen in WPF Host object.  If I place a LABEL on the windows forms user control, the label will show in WPF.  It seems the OpenInWindowEx is not loading a PDF object onto the user control.  Perhaps I need a resize method and event?
    I cannot locate any object on the PDFViewerControl user control that resembles a PDF document through debug.
    Any help/pointers much appreciated.
    this.Handle.ToInt32() does have a seemingly valid value (ie window handle).
    this.pdfViewWpf is a XAML <Grid>
    Dominic

    On further testing, I found the above code does actually work, BUT the HOST or the VIEWER or the DOC object disappear after the routine is finished.  I placed a label on the UserControl and noticed a flicker on the crseen draw which I capture on camtasia the result can be viewed here.  http://www.screencast.com/t/Z49gUTb3Xt
    Given the label is still around after the file open routine completes suggests the HOST and VIEWER objects are still exposed, just the DOC object resizes to zero height and width or just plain gone.
    Without the Label, same result.
    Any thoughts on how to retain the display of the CAcroAVDoc object would be much appreciated.

  • I want to convert a publisher document to pdf. please help

    convert a publisher document to pdf

    Hi downgor750,
    If you have have Publisher 2010 (and possibly 2007), you can use the Save As command in that application to save to PDF format. If you don't, you can use either Adobe PDF Pack or Acrobat to do the job.
    Have you tried to save as PDF and run into a particular problem? If so, please let us know.
    Best,
    Sara

  • Flattening a PDF - please help - urgent

    I have Adobe Acrobat Professional 7.0 and I'm trying to send a client a pdf proof on a 2 spot color job. When the client receives it she does not see the 2nd spot color - (I can go to advance and check output preview and it shows up fine on my machine) but the clients do not have that option - I just want to be able to send them a simple flattened PDF that does not show color separations. I've tried to reduce file size, flattened transparence but it still separating in 2 color.
    Machine: Mac G5 running mac os 10.4.11

    There's one way I can come up with that you can do it, BUT the problem is that the file you would send for proofing would not be the same file that you use for final output. This may not something either of you would be comfortable with, since you run the risk of error, but I'll throw it out there anyway. I don't have 7 installed, but in 8 and 9 you can export to PostScript and check on "Simulate Overprinting" then distill that file. In Acrobat 9, this is on the output tab.
    This will do a simulation of overprints in your output file. This file should NOT be used for final output because the overprints are essentially flattened. They no longer exist, but the appearance is simulated. Since spot colors are involved, those areas would actually not be spots any more. This feature was intended for proofing only, primarily for printers that don't support overprinting.
    Unfortunately, if they are going to use some newer technology (like transparency) but older viewers that don't support it then you're hands are a bit tied.

  • Hello, I've upgraded my Ipad2 to iOS7. I'm facing two major problems. First, I can't connect to the internet(which seems like a common problem). Second, the Autocad WS app doesn't work. It keeps asking for a username/passcode combination. please help guys

    Hello, I've upgraded my Ipad2 to iOS7. I'm facing two major problems. First, I can't connect to the internet(which seems like a common problem), no Wifi connectivity as well. Second, the Autocad WS app doesn't work. It keeps asking for a username/passcode combination. Please help me guys. I will be genuinely grateful.
    Cheers

    Does my problem has anything to do with SSL for mail settings? Cause when I tried re-adding it says something that I should try without SSL, and I did what you said and it gives me this "The IMAP server pop.mail.yahoo.com is not responding. Check your network connection and that you entered the correct information in the incoming mail server field". Ahh.. this is so annoying, Apple what are you doing to me?! Or is Yahoo doing this to me?!
    Thank you for your time. Sorry it doesn`t work.

  • I have a compilation problem with my mini iPod that is preventing my volume from increasing. I can't get the compilation code, please help me

    MY mini iPod version number1.1.3 pc robs iPod ,4GB is having volume limit problem ,the volume is very low compare to how it was playing before I mistakenly touch the combination code. I have forgotten the combination code, please help me out.. I have tried to reset settings but it wouldn't work.

    i can get the combination code please

  • Acrobat Pro XI is not recognizing Word 2013 files when I try to combine files in a single PDF. Please help.

    I recently upgraded to Office 2013. Everything seems to be working fine with Acrobat Pro XI, except when I try to combine Word 2013 files into a single PDF, I get this message: "Acrobat does not support the conversion of one or more of your files to PDF. . . ." Please help. Thanks.

    I've opened both Word and Excel. The Acrobat ribbon is showing in both programs and I did some test things and they seem to be working fine. However,  I still cannot see or use formats other than pdf in the Acrobat Pro program. Is there another setting that needs to be adjusted?

  • Since I have Yosemite on my iMac I can't view PDF files in Safari anymore.  It keeps telling me to upgrade my Adobe Reader, but it is the latest version.  Please help?  I don't have this problem on my Macbook that does not have Yosemite installed.

    Since I have Yosemite on my iMac I can't view PDF files in Safari anymore.  It keeps telling me to upgrade my Adobe Reader, but it is the latest version.  Please help?  I don't have this problem on my Macbook that does not have Yosemite installed.

    Back up all data before making any changes. Please take each of the following steps until the problem is resolved.
    Step 1
    If Adobe Reader or Acrobat is installed, and the problem is just that you can't print or save PDF's displayed in Safari, you may be able to do so by moving the cursor to the the bottom edge of the page, somewhere near the middle. A black toolbar should appear under the cursor. Click the printer or disk icon.
    Step 2
    There should be a setting in its preferences of the Adobe application such as Display PDF in Browser. I don't use those applications myself, so I can't be more precise. Deselect that setting, if it's selected.
    Step 3
    If you get a message such as ""Adobe Reader blocked for this website," then from the Safari menu bar, select
              Safari ▹ Preferences... ▹ Security
    and check the box marked
              Allow Plug-ins
    Then click
              Manage Website Settings...
    and make any required changes to the security settings for the Adobe PDF plugin.
    Step 4
    Triple-click anywhere in the line of text below on this page to select it, the copy the selected text to the Clipboard by pressing the key combination command-C:
    /Library/Internet Plug-ins
    In the Finder, select
              Go ▹ Go to Folder
    from the menu bar, or press the key combination shift-command-G. Paste into the text box that opens by pressing command-V, then press return.
    From the folder that opens, move to the Trash any items that have "Adobe" or “PDF” in the name. You may be prompted for your login password. Then quit and relaunch Safari.
    Step 5
    The "Silverlight" web plugin distributed by Microsoft can interfere with PDF display in Safari, so you may need to remove it, if it's present. The same goes for a plugin called "iGetter," and perhaps others—I don't have a complete list. Don't remove Silverlight if you use the "Netflix" video-streaming service.
    Step 6
    Do as in Step 4 with this line:
    ~/Library/Internet Plug-ins
    If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari.

  • PDF is not Merging. Please help me

    Hi  I have a windows applicatoin which is developed using vb.net and i am trying to Attach or Combine 2 pdf's into one . It works for once or twice and after that it will not attach any pdf . The first pdf stays as such.
    The vb.net code is below. Please help me what was causing the problem and any possible solution.
    Code:
    Dim 
    sFileName As String = ""
    sFileName =
    "doc1.pdf"
    FileCopy(sFileName,
    "Temp.pdf") 
    Me.wbReport.Navigate("Temp.pdf") 
    'Get File Name
    Dim sFileAttach As String = ""
    With Me.OpenFileDialog1.DefaultExt =
    "PDF"
    .Multiselect =
    False
    .Title =
    "Select file to attach"
    .FileName =
    .Filter =
    "Adobe PDF Files (*.pdf)|*.pdf"
    .ShowDialog()
    sFileAttach = .FileName
    End With 
    If sFileAttach = "" Then 
    Exit Sub 
    End If 
    Dim AcroApp As Object = CreateObject("AcroExch.App")
    ' ACRODISTXLib.PdfDistiller6
    Dim InsertPDDoc As Object = CreateObject("AcroExch.PDDoc") 
    Dim RptPDDoc As Object = CreateObject("AcroExch.PDDoc")
    Try
    RptPDDoc.InsertPages(
    CType(RptPDDoc.GetNumPages, Integer) - 1, InsertPDDoc, 0, CType(InsertPDDoc.GetNumPages, Integer), False)
    Catch ex As
    ExceptionMsgBox(
    "Error Attaching Documents. Documents were not attached.") 
    End Try
    Nothing
    InsertPDDoc =
    Nothing
    Me.wbReport.Navigate(sFileName)
    Any Suggestions ????
    Thanks in Advance for the help.
    RptPDDoc.Save(1, sFileName)
    RptPDDoc.Close()
    AcroApp.Exit()
    RptPDDoc =
    InsertPDDoc.Close()
    AcroApp.Hide()
    RptPDDoc.Open(sFileName)
    InsertPDDoc.Open(sFileAttach)

    suadfromshkoder wrote:
    ...i bought a used iphone 4 ...
    The Apple ID and Password that was Originally used to Activate the iDevice is required.
    If you cannot get this information from the seller
    Removing a device from a previous owner’s account
    you need to return the Device for a refund, as you will not be able to re-activate it.

  • HELP! Combine PDF:s in acrobat 8 professional

    Hi,
    we have a lot of pdf:s that needs to be combined into one pdf-file. I have found the function comine / merge files into one pdf. It seeems ok, but leaves us one very big issue...we want the combined file to change, when we change the original pdf file. How could that be accomplished? Is it at all possible?
    The reason is that we would like to avoid creating a new combined file everytime we update one of its included pdf's. We would like it to update for itself.
    Please help if there is anybody who has a clue.
    Regards
    Annika
    PS. The original files comes from InDesign CS3, if there is a solution already at this program...

    We have this same problem. Depending on your application, this may or may not be suitable for your use.
    Instead of starting with a combined pdf, we created collections. (Go to File, then Organizer. From here you either "open organizer" to get a current collection, which will be listed in the box to the left -towards the bottom,.. or "create a new collection".
    collections are just links to original files. so everytime your original is updated, so is your collection.
    Once you open the collection, select all the documents and either print them or create a combined pdf.
    Play around with this and see if it works for you.

Maybe you are looking for