2Sided Original 1Sided ADF Scanner -Combine PDF Pages -  Data Error?

I just purchased a scanner with an Auto Document Feeder, ADF, of 25 pages after trying to use it I found out through the company that it only scans one side. I have another ADF scanner where the software allows the user to flip the pages over and then reinserts them for the final PDF file. Instead of spending more on a double sided scanner I figured I would create a program using Automator.
The script I created worked a few times but after some tweaking it stopped.
The problem is just before the Combine PDF Pages where I have two "Get Value of Variables" which I set as PDF Documents at the beginning of the script.
The log reads before and at the point of error;
Conversion from Files/Folders (com.apple.applescript.alias-object) to PDF files com.apple.applescript.alias-object.pdf) completed.
. ! The action "Combine PDF Pages" was not supplied with the required data.
The variables are showing the entire path to include the filename and extention of my selected PDFs, but the log above the error seems to change the variable to the appropriately desired object.
? What I need to do to correct this error because it seemed to work earlier by using variables?
The script would be useful for any type of ADF scanner that outputs one-sided to PDFs and the originals are two-sided.
Your help is appreciated.
KGz
Message was edited by: KGz

Red
I have been working in Automator for this program and saved it as an Applescript plug-in for the Scripts Menu. I don't have to have it as a script I just need it to work.
The pecular thing was while testing the program in Automator before exporting it to the plug-in the program was skitish meaning that at first it didn't work then I added 'view results' and then afterwards it seemed to work. After this I removed 'view results' and it worked then I exported it but since then I can't get it to work again even after reinserting 'view results'.

Similar Messages

  • Bug in Automator's Combine PDF Pages action?

    Hi guys,
    I've been playing around with 10.6's new Automator and Services. I decided to make an Automator Service so that if I have some PDFs selected in Finder, I can combine all the pages into one PDF and save it to a location. So I created the following service:
    * Get Selected Finder Items
    * Combine PDF Pages (appending pages)
    * Move Finder Items (to Desktop by default, show this action when the workflow runs)
    * Rename file (comes up as Name Single Item in Finder Item Names, show this action when the workflow runs)
    I tested this in Automator by selecting some PDFs on my desktop and hitting the Run button; everything worked out well. So I saved it as an Automator Service, only available for PDF files but in all applications (drop down lists at the top of the Automator window).
    I noticed however when I ran this workflow as a service, the pages in the resulting PDF file is actually duplicated. For example, if I had page 1 in page1.pdf, and page 2 in page2.pdf, running the service on these two files will produce a PDF with the following pages: page 1, page 2, page 1, page 2.
    Does this happen to anyone else in here, or is it just me? I tried saving the workflow as an application, placed it in the Dock, and then dropped my test files on it and it does the same thing. And this happens with other PDF files too.
    Is this a bug? Can someone confirm that it happens on their machine too?
    Thanks.

    Anyone? It doesn't take long to create an Automator workflow with the 4 actions above. Probably 2 minutes max. Can someone test on their machine?
    I tried to do the same with my MBP, which I also upgraded to Snow Leopard, and it does the same thing there. For some reason, it works perfectly when the workflow is run within Automator, but when it's exported as an Application or a Service, it duplicates pages.
    I tried to submit a bug report to Apple, but I couldn't log in with my current Apple ID -- it shows me an error page to submit a bug report! That's what I've been trying to do in the first place, but it seems the bug report process has bugs that they want you to report on. Chicken and egg scenario methinks.

  • PDF converter and combine PDF pages are blank?

    I signed in to Adobe and tried to use the PDF converter, but the page is blank.  The combine PDF page is blank also.  What happened?  I can see the other tabs, but these two are blank.  Need to know what is going on. Thanks.

    Now it shows up after 30 minutes of trying. 

  • Combine PDF Pages automator step strips annotations

    Oh, I was so excited when I noticed the Combine PDF Pages command in Automator.
    Then I was less excited when I discovered that if any of the pages has annotations created in Acrobat Pro, those annotations are removed from the newly combined PDF.
    Since Preview, for some strange reason, is not AppleScript-able, Automator is the only way I see to do this.
    Acrobat is somewhat scriptable to a degree but does not have a combine PDFs command in the dictionary.
    So, has anyone figured out a way to automate the merging of PDFs via a script, workflow, app, etc -- while RETAINING the annotations? I am triggering this from FileMaker as part of a work process we're developing, so manually merging the PDFs kind of defeats the purpose.
    Anyone have any suggestions?
    Thanks,
    Jeff

    Found It!
    Ok, so it seems "insert pages" is in the Acrobat dictionary; I was looking for an equivelant of "Combine Files into Single PDF".  Anyway, here's draft one of the script. I'll probably make it less clunky next week, but this is basically how it works:
    set nFile to ""
    set pCount to 0
    set pdfList to {}
    set pdfNameList to {}
    set sourcePath to "SL:Users:joeuser:Desktop:fix ccd:Source:"
    set targetPath to "SL:Users:joeuser:Desktop:fix ccd:Target:"
    set coverFileName to "cover.pdf"
    tell application "Finder"
    move file (sourcePath & coverFileName) to folder targetPath
              set my pdfList to every file in folder sourcePath
              repeat with f in pdfList
                        set pdfNameList to pdfNameList & (name of f)
              end repeat
    end tell
    tell application "Adobe Acrobat Pro"
    --activate
    open (my targetPath & my coverFileName) with invisible
              set targetDoc to last document
              set my pCount to (number of pages) of targetDoc
              get my pdfNameList
              repeat with f in my pdfNameList
                        set c to number of documents
                        open (sourcePath & f) with invisible
                        repeat until c < (number of documents)
                        end repeat
                        set newDoc to last document
                        set nPages to (number of pages) of newDoc
      insert pages targetDoc after my pCount from newDoc starting with 1 number of pages nPages
                        set my pCount to (my pCount) + nPages
      close newDoc
              end repeat
    save targetDoc
    close targetDoc
    end tell
    tell application "Finder"
              set f to file (my targetPath & my coverFileName)
              set name of f to "New Merges PDF.pdf"
    end tell

  • How to combine pdf pages into a single pdf document

    I´ve done this before but I forgot. Can anyone help me?

    Hi profesora.2014.2015,
    Adobe Reader is a free trusted standard for reliably viewing, printing, and annotating PDF documents. It’s the only PDF file viewer that can open and interact with all types of PDF content, including forms and multimedia.
    In order to combine PDF pages into a single PDF file, you need to either use Adobe Acrobat (Merging and combining PDF files | Acrobat XI - Adobe India) or Adobe PDF pack (Reliably Create PDFs, Convert PDFs, & Merge PDFs Online | Adobe PDF Pack).

  • Combined PDF page display speed difference between Acrobat 8 Pro and Acrobat X Pro

    I have encountered a display speed issue with regards to combining Tiffs with Acrobat X Pro.  The Tiffs are between 200 KB and 600 KB.  Tested the issue by using a series of Tiffs originally combined using Acrobat 8 Pro but used Acrobat X Pro to combine them.  When I open the combined PDF files using X, I can cycle through the pages of the one created using 8 significatinly faster (i.e. about as fast as I can click) but the file created using X is significately slower.  Note: PDF file size is smaller using X (30.9 MB) than same combined files using 8 (46.1 MB).  Any ideas on what might be causing this issue?

    Found a Tips & Tricks document for Acrobat 8 which indicated the default Monochrome Compression setting for Acrobat 8 is CCITT G4.  Recreated the combined PDF file from the original Tiffs using X Pro with the modified setting and works like a charm.  Thanks for the point in the right direction.

  • Combine PDF Pages Folder Action

    I am running OS 10.6.8, using Automator to create a Folder Action.
    The input is a single folder containing 2 or more PDF files. I drop this folder onto the folder with the action attached. All of the PDFs are combined and the resulting PDF is copied to a new location.
    It works very well with one problem. The name of the combined PDF is an automatically generated system name. I would like this PDF file name to change to the name of the original folder that contained the original PDFs.
    To summarize: "Folder A" has the action attached. "Folder B" contains 2 or more PDFs. I drop Folder B onto Folder A. Automator creates a new combined PDF. I would like this to be named "Folder B.pdf"
    Thanks in advance, any help is appreciated.

    Here's a way (at least on Mac OS X 10.7.3) to do what hubionmac suggested:
    Message was edited by: Pierre L.

  • Custom PDF page size errors

    When printing to PDF to a custom size of 36x85 or 85x36 the adobe PDF writer doesnt do anything. THis happens from any program I try. If I Select a size of 82x36 the PDF creator with create the file. I can even print 92 x 92 with no issues, just not anything that is 36 x anything greater then 82 inches. This is being done in Windows 7 64 and I cant duplicate this issue 100% of the time in versions 9 and X standard on multiple machines.
    The interesting thing is that if i try to print a PDF from within Acrobat 9 or X, it will print 32 x 82 fine, but when printing 85x36 or anything 36 x 82 or greater, it gives me the following errors:
    "The document could not be printed"
    "There were no pages selected to print"
    So my question is, why cant i print to this size? Is there a ratio limitaiton to printing custom page sizes using the Adobe PDF printer?
    Any assistance anyone can give me with thsi would be very much appreciated.
    --Update--
    If I try this same size on a windows XP 32bit machine with Acrobat X Standard it works fine. Not sure what the issue is with Windows 7 64 and Acrobat 9/X in regards to custom page sizes.

    Not sure if you ever found a cause to this but I wanted to post my solution here because I've seen may people posting about the same issue and the solution/workaround that you came up with is the exact configuration that causes the  error for me.
    After looking through several forums, nothing worked. I'm running XP 32-bit with both Acrobat X Pro AcroReader X trying to plot to an HP DesignJet 800ps. I had never had any problems printing with Acrobat X until our IT dept. upgraded the print server from Win2003 server to 2008R2. I don't believe there were any new drivers installed for the plotter as it's an older model but the hardware/OS upgrade changed how we installed drivers. The technical details are beyond me.
    So suddenly, for whatever reason, I'm now getting this no pages selected error. After unsuccessfuly trying several solutions that others reported to work for them I was determined to figure out why it wouldn't work for me.
    What I found is probably just another in the handful of workarounds but I'm posting it here just in case it also works for you. In the print dialogue, click the Advanced (print setup) button. In the Output tab(?)/window(?)/area there is a check box default checked on for Use Maximum Available JPEG2000 Image Resolution. I uncheck this box. Back in the main print dialogue at the bottom right there is a Page Setup... button. In there I changed the page orientation to Landscape to match the orientation of my document. I had already specified this in the printer properties window, and in the main print dialogue it was set to Auto Portrait/Landscape (which oddly if I select just landscape it crowds the job to the top left of the page).
    Like I said, these were the only two things I changed and it worked so if you're still reading this hopefully it will solve your problem too.

  • Trying to create a "Combine PDF" that also has a "save as" dialog box

    I am able to get the Combine PDF to work but it just saves them as randomly named files on the desktop that I then need to rename manually. Is there some way to make a "save as" dialog box pop up after combining the files? So if I had a bunch of PDFs it would go:
    Right Click on selected files > Automator > Combine PDF > Save As
    Is this possible?

    Set up you worflow as:
    Get Selected Finder Items
    Combine PDF Pages
    Open Images in Preview
    Run Applescript
    +copy this into the Applescript box+
    tell app "System Events"
    keystroke "s" using {command down, shift down}
    keystroke "d" using {command down}
    end tell
    I also like to add a Sort Finder Items after the Get Selected Finder Items.

  • Getting File Name in Automator workflow - combine PDF

    I am using Automator to combine 2 PDF files.
    I would like to inherit one of the file names in the new PDF and append a standard text to the front of the file name.
    I am not sure how to do this. I can combine the PDFs the way I would like, but I am not sure how to plick the file name.
    my workflow is as follows.
    Folder Action targets folder where 1st PDF is added(I want this FILE NAME).
    Ger Specified finder item selects 2nd PDF to be combined.
    Sort Finder Items makes sure the new PDF pages are ordered properly.
    Combine PDF Pages combines the pages.
    Move Finder Items saves the files where i want it.
    Name single item is whre i thought to add my standard text plus the variable of FILE NAME.
    Open File in mail to set up my email.
    Anyone can help with this?
    thanks,
    Aaron

    Here is an automator workflow that does something similar so I believe you can adapt to your needs.  This workflow is setup as a service workflow. It will combine PDFs in the order in which they are selected/clicked via the Shift key.  The default name of the combined output file will be the name of the first file clicked.  Automator can be activated by CTRL clicking any of the selected PDFs.
    1. Service receives PDF files in Finder
    2. Automator Action: Run AppleScript
    on run {input, parameters}
              display dialog "Files will be combined in the order selected via the Shift key" as text
              return input
    end run
    3.. Automator Action: Trim input items
    keep the first one
    you will need to download and install this autotmator action from here:
    http://www.menace-enterprises.com/Files/Automator/Actions/Trim%20Input%20Items.d mg
    4.  Automator Action: Run AppleScript
    (* Note & Definitions
    This Applescript extracts the basename of the first selected file without its .pdf extension
    "path_basename_ext" is full path and name, e.g. User/desktop/file.pdf
    "NmExt" is filename with extension, e.g. file.pdf
    "baseName" is the base filename without extension, e.g. file
    "Ext" is the file's extension, e.g. pdf
    on run {input, parameters}
              set path_basename_ext to input
              tell (info for path_basename_ext) to set {NmExt, Ext} to {name, name extension}
              set baseName to text 1 thru ((get offset of "." & Ext in NmExt) - 1) of NmExt
      baseName
              return baseName
    end run
    5.  Automator Action: Set Value of Variable
    define baseName as the variable
    6.  Automator Action: Get selected finder items
    Options: check ignore input
    7. Automator Action: Combine PDF pages
    choose Combine by appending
    8. Automator Action: Move Finder Items
    choose To: Desktop
    Options: check show this action when workflow runs
    9. Name Single Items
    choose Basename only to: baseName
    Options: check show this action when workflow runs
    10. Open Finder Items

  • Combine PDF trough Automator

    How do I combine PDF's trough the Automator - Step for Step.... thx alot
    Greets Simon

    Simply double-click or drag the "Combine PDF Pages" action from the "PDF" action library into your workflow. Then do the same for Finder's "Open Finder Items" action. Click File > Save As Plug-in, give it a name, confirm that it's a plug-in for Finder, and click Save.
    Now whenever you control-click on a selected group of PDFs in Finder, you can click Automator > [your workflow] and it will open them as a combined document.

  • Combined PDF's and created links to original PDF's

    Combined multiple PDF's from several individuals into on E-book.  I also create a table of contents with links to original PDF's within the combined document.  Problem is that each link opens in a different magnification. Page 1 is 100%, 1st link 93%, 5 link 56%, etc.  Is it possible to have all pages open with the same magnification? (i.e. all open @ 100%).
    Thanks in advance.

    If the combined PDFs are within a single PDF file —
    Use the Link Action "Go to a page view".
    As the Create Go to View dialog states:
    "Use the scrollbars, mouse, and zoom tools to select the target view..."
    During this activity you can establish the desired zoom (page magnification of 100%).
    Once the activity is complete, click the Set Link button.
    Be well...

  • Size of pages in combined pdf files

    How can I keep the combined pdf files from changing sizes in the newly created pdf. If the combining tool doesn't allow me to save the original pdf file size, it's of very little use to me. Can someone help me ?

    You are saying that the PDF pages change size when combined? Ok, what were the sizes before and after? You can check the exact size by holding the mouse at the extreme bottom left of the page until the size appears.

  • I publish a 41mb newsletter monthly into interactive pdf. It always becomes a file size of 4mb, 10% of original, when I save to pdf. This month my newsletter is 41mb and it drops to 11mb, 25% of original. I have re-sized all pictures, deleted pages separa

    I publish a 41mb InDesign newsletter monthly into interactive pdf. It always becomes a file size of 4mb, 10% of original, when I save to pdf. This month my newsletter is 41mb and it drops to 11mb, 25% of original. I have re-sized all pictures, deleted pages separately, have gotten the file size down to 16mb and it drops to 7mb, 45% of original.
    I have gone back and saved Feb and March and it saves to 10% of original, as it did before, and I use the same mechanism to save now.
    I have gone to Acrobat Pro and optimized down to 8.8mb, but the quality is not acceptable.
    What other variable is there that I haven't discovered?

    My daughter has had her Razr for about 9 months now.  About two weeks ago she picked up her phone in the morning on her way to school when she noticed two cracks, both starting at the camera lens. One goes completely to the bottom and the other goes sharply to the side. She has never dropped it and me and my husband went over it with a fine tooth comb. We looked under a magnifying glass and could no find any reason for the glass to crack. Not one ding, scratch or bang. Our daughter really takes good care of her stuff, but we still wanted to make sure before we sent it in for repairs. Well we did and we got a reply from Motorola with a picture of the cracks saying this was customer abuse and that it is not covered under warranty. Even though they did not find any physical damage to back it up. Well I e-mailed them back and told them I did a little research and found pages of people having the same problems. Well I did not hear from them until I received a notice from Fed Ex that they were sending the phone back. NOT FIXED!!! I went to look up why and guess what there is no case open any more for the phone. It has been wiped clean. I put in the RMA # it comes back not found, I put in the ID #, the SN# and all comes back not found. Yet a day earlier all the info was there. I know there is a lot more people like me and all of you, but they just don't want to be bothered so they pay to have it fix, just to have it do it again. Unless they have found the problem and only fixing it on a customer pay only set up. I am furious and will not be recommending this phone to anyone. And to think I was considering this phone for my next up grade! NOT!!!!

  • How do you move pages around in a combined pdf online.

    how do you move pages around in a combined pdf online

    Hi,
    To move pages in combined PDF file you can use Adobe Acrobat.
    1. Open your combined PDF file in Acrobat XI
    2. Click "Tools" from top right corner
    3. Select "Pages" tab
    4. Select "Page Thumbnails"
    5. Move the page thumbnails at Page Thumbnail pane at left side of  document page.
    6. Save the PDF page.
    You can download Acrobat XI Pro Trial version from www.adobe.com or upgrade your service to Acrobat Plus (Please see more information at https://www.acrobat.com/acrobatplus/en/features.html?promoid=KIUAY
    Hisami

Maybe you are looking for