Can pages be rearranged/merged automatically to restore odd even sequence after one-sided scans of double sided documents

I would like to scan into pdf format some documents that are deteriorating badly.  These documents are printed on both sides and there are lots of them.  The stack of documents can be placed in a regular feeder scanner but only one side of the documents will get scanned at one time.  I could then turn the stack upside down and scan the other side.  But that would leave me with a grouping of the odd pages pages of the documents as pdf, and a grouping of the even pages.  How could I then rearrange/merge the pages so they appear as a normal sequence of odd-even in the pdf? Thanks.

Hey all:
Thanks for the positive feedback. I found myself needing to do some collating and reversing again, and discovered that the script didn't show up in Acrobat 9. So I updated the script, and moved the menu item into the "Document" menu.
Unfortunately I can't figure out how to attach the updated script in the new form editor, so I'll inline it. Copy the following script into a file and install it into your Javascripts folder, as before.
// Complements: Planet PDF (http://www.planetpdf.com/)
// Modified by Jeff Baitis for Acrobat 9 compatibility
// Improved Collate function with status bar.
// Add a menu item to reverse all pages in the active document
app.addMenuItem({ cName: "Reverse", cParent: "Document", cExec: "trustedReversePages();", cEnable: "event.rc = (event.target != null);", nPos: 0 });
app.addMenuItem({ cName: "Collate", cParent: "Document", cExec: "trustedCollatePages();", cEnable: "event.rc = (event.target != null);", nPos: 0 });
trustedReversePages = app.trustedFunction(function()
  app.beginPriv(); // Explicitly raise privileges
  var t = app.thermometer;
  t.duration = this.numPages;
  t.begin();
  for (i = this.numPages - 1; i >= 0; i--)
    t.value = (i-this.numPages)*-1;
    this.movePage(i);
    t.text = 'Moving page ' + (i + 1);
  t.end();
  app.endPriv();
// Collating pages
  Title: Collate Document
  Purpose: User is prompted to select document to insert/collate.
  Author: Sean Stewart, ARTS PDF, www.artspdf.com
trustedCollatePages = app.trustedFunction(function()
  app.beginPriv(); // Explicitly raise privileges
  // create an array to use as the rect parameter in the browse for field
  var arRect = new Array();
  arRect[0] = 0;
  arRect[1] = 0;
  arRect[2] = 0;
  arRect[3] = 0;
  // create a non-visible form field to use as a browse for field
  var f = this.addField("txtFilename", "text", this.numPages - 1, arRect);
  f.delay = true;
  f.fileSelect = true;
  f.delay = false;
  // user prompted to select file to collate the open document with
  app.alert("Select the PDF file to merge with")
  // open the browse for dialog
  f.browseForFileToSubmit();
  var evenDocPath = f.value;
  var q = this.numPages;
  var t = app.thermometer;
  t.duration = q;
  t.begin();
  // insert pages from selected document into open document
  for (var i = 0; i < q; i++) {
      var j = i*2;
      this.insertPages(j, evenDocPath, i);
      t.value = i;
      t.text = 'Inserting page ' + (i+1);
  t.end();
  // remove unused field
  this.removeField("txtFilename");
  app.endPriv();
Have fun

Similar Messages

  • I can't seem to merge a redundant contact list with a current one. If I delete the redundant contact list I will lose all of my contacts that I have (still) been inadvertently adding using this as my default contact list.

    When I was working with my old job I had a contact list on my phone that was associated with my job's personal email address. Now that I have a new mac and am now a new full time student I would like to use my new uni email address as my default contact list. I have now made this change but have only just realised that I have been adding contacts for a period of months using this now redundant list.
    When I sync my computer with my phone (which is working great using iTunes), I am unable to get all of my recent contacts.
    I have three groups:
    "All contacts" - I understand this is all of my contacts on my phone
    "All from My Mac" - This is my new list and constitutes around 80% of my contacts
    "Contacts" - This is the old list from my previous employer and contains (I think) 100% of my contacts. Well all of my useful ones anyway - maybe 99%. I would like to delete this group as I don't use the email address anymore and don't work for them!
    The end result that I am looking for, is a complete list of ALL of my contacts synced with my computer in Outlook, and to be able to delete my old work contact list!
    Please help (you bunch of legends).
    Dave

    Launch iTunes on your computer.
    From the menu bar click iTunes > Preferences then select the Advanced tab.
    Click Reset warnings and Reset cache
    Click OK.
    Restart your computer, launch iTunes.
    Click Store > Check for Available Downloads...

  • Can Pages copy text from one page to another automatically?

    Can Pages automatically copy text from one page to another?
    For example recurring text in a document e.g. addressee details or a date (not today's date).
    I want to type the topic title of one letter and have it automatically filled into the correct field in the next page which will be a letter to a different recipient.
    The letter text will be different for each recipient so mail merge probably won't work.
    Thanks
    Andy

    Thanks that worked great!!!(for the first line)
    Now why wont it populate more than the one other text field?
    F.Lic.Table1.Row1.agt_ssn_lic.rawValue = xfa.event.newText;
    F.PAGE3.agt_ssn_1.rawValue = xfa.event.newText;
    F.PAGE4.agt_ssn_2.rawValue = xfa.event.newText;

  • Help! The new Pages. I can't copy an entire page or rearrange the pages. In the new formatt also when I insert a new page when using a template it doesn't give me the formatting and guides.  Can anyone help.

    I can't copy an entire page or rearrange the pages. I use this feature a lot, particularly at this time of year. Can't seen to rmove the header and footer markers either.
    Can anyone help or do I need to revert back to pages 09?
    If I do re-install 09 will I be able to open the files that where converted to the new version?
    I don't like this new one. Many of the graphics features have been removed.  Not impressed at all. Very frustrated.
    The business card templates and others behave strangly.  If I insert a page it's blank only. I don't get the guides.  I was in the middle of a design project and had to start again from scratch as it threw everything out of alignment  and I can't copy an entire page. When I use select all, group then copy when I pasted it on the new page it overlayed all the cards in the top two segments.  Frustrating !  I ended up  saving my first page under a different name that was the only way to copy the page then I had to work between three documents instead of one.
    I went in today to last years Christmas tag file and the same issues I can't copy a page. I can't rearrange the pages.
    Simple features like colour choice and transperency for shapes are gone. I want to use my colour choices not someone else.
    Sorry, I am ranting.
    For now all I need is to be able to copy and switch pages around in one document.
    Please Help! I am about to start pulling my hair out in frustration.

        Yes, I am using 09 with out issues.  Just have to remember to use "open with 09" or open pages 09 first then my document.
      I create some amazing cards and posters with 09 that when on a PC I would have to use both Word and Publisher to create.  Flipping back and forth. 
      Apple if you're  listening please, give us back our layout options and even add a few more design options like beveled and 3D text.

  • Hi, I upgraded my girlfriend's iPad 2 using my iMac, however, her iPad was sync with her PC. Although I've made backup earlier, when I restore from backup the apps doesn't sync back, neither her documents on pages. How can I put then back to her iPad?

    Hi, I upgraded my girlfriend's iPad 2 using my iMac, however, her iPad was sync with her PC. Although I've made backup earlier, when I restore from backup the apps doesn't sync back, neither her documents on pages. How can I put then back to her iPad?

    The backup saves many settings, but it copies photos and other files from the computer back to the iPad after IOS5 wipes the disk.   Plugging it into her computer will re-sync it.

  • How can i say yes to automatic updates when they stop my wireless dlink to Virgin home broadband from getting on the internet and then i have to do a system restore to the day before the update to get it back to normal?!? Frustrated

    how can i say yes to automatic updates when they stop my wireless dlink to Virgin home broadband from getting on the internet and then i have to do a system restore to the day before the update to get it back to normal?!? Frustrated
    == This happened ==
    Not sure how often
    == automatic updates go on my computer, say if i click yes to update when shutting down

    You have 10.6 on that machine, I suggest you stick with it for performance, third party hardware and software reasons as long as possible.
    Consider 10.8 (not 10.7) when it's released, because 10.7 and 10.8 will require a new investment in software and newer third party hardware as it requires newer drivers the old machines won't have. (forced upgrade because of software, really nice of them)
    http://roaringapps.com/apps:table
    Far as your Safari problem do these things until it's resolved:
    1: Software Update fully under the Apple menu.
    2: Check the status of your plug-ins and update (works for all browsers) also install Firefox and see if your problems continue. You should always have at least two browsers on the machine just in case one fails.
    https://www.mozilla.org/en-US/plugincheck/
    Flash install instructions/problem resolution here if you need it.
    How to install Flash, fix problems
    3: Install Safari again from Apple's web site
    https://www.apple.com/safari/
    4: Run through this list of fixes, stopping with #16 and report back before doing #17
    Step by Step to fix your Mac

  • Can you enable Numbers, Pages, or Keynote to automatically save every....

    Can you enable Numbers, Pages, or Keynote to automatically save every ...(desired time intervals) like Microsoft Office does?

    Look at:
    http://discussions.apple.com/thread.jspa?messageID=8759406
    You will get a link to my Applescript which not only autosaves but keep consecutive datestamped copies so, if the last saved copy appears to be a corrupted one, you may get the preceeding one.
    Yvan KOENIG (from FRANCE jeudi 14 mai 2009 11:39:26)

  • Basic HTML Can I set Firefox to automatically load pages as 'Basic HTML'?

    Will loading pages as "Basic HTML" load faster?
    Pages take 30 - 60 seconds, downloads OK at 1 MB a minute.
    Some sites, e.g. Yahoo Mail, have a button to load faster as Basic HTML. Can other sites load as Basic HTML?
    So: Can I set Firefox to automatically load as Basic HTML if that site can be?
    (Firefox 3.6.15, Windows XP, 2MB RAM, ISP is Hughes satellite in Virginia, USA.)

    You can look at:
    * Adblock Plus: https://addons.mozilla.org/firefox/addon/1865
    You need to subscribe to a Filter list (e.g. the EasyList).
    *http://adblockplus.org/en/subscriptions
    *http://adblockplus.org/en/getting_started

  • How can I get Illustrator to automatically resize the font to a designated page width?

    I want to be able to type lines of text and have Illustrator automatically change the font size so that it fits that width of the page exactly, even if on one line there are 8 words and on another line there are 2 words - I want the big and small letters effect. I was previously doing this in Photoshop manually but someone suggested I could do it easier in Illustrator so here I am....
    Thanks.
    Jay

    each line has to be a separate text object (point text, not area text)
    use this version, as SRiegel pointed out, the script was missing a line
    #target Illustrator
    //  script.name = textBlock_CS4.jsx; // not tested on CS5 yet.
    //  script.description = converts selected point textFrames into a Block of Text;
    //  script.required = one document with at least two selected text frames;
    //  script.parent = carlos canto // 12/4/11;
    //  script.elegant = false;
    if (app.documents.length > 0)
            var idoc = app.activeDocument;
            var sel = idoc.selection;
      if (sel.length>1)
      var width = prompt ("Enter desired Text Block width in Points", 300, "Text Block"); //
      if (width!=null) // quit if pressed Cancel
      var dupLayer = idoc.layers.add(); // add a layer to place the new block of text
      dupLayer.name = "Text Block";
      var blockGrp = dupLayer.groupItems.add(); // add a group to final output
      blockGrp.name = "Text Block";
      var left = idoc.width/3; // place block at the bottom 3rd of the page
      var top = idoc.height/3
      var spacingMM = prompt ("Enter spacing in Millimeters", 2, "Text Block"); // text lines spacing in mm
      var spacingPts = new UnitValue(spacingMM,"mm").as ("pt") // convert to points
      for (i=0; i<sel.length; i++) // loop thru selection
      if (sel[i].typename == "TextFrame") { // continue if textFrame, ignore other pageItems
      var itext = sel[i].duplicate(blockGrp, ElementPlacement.PLACEATEND); // duplicate text
      itext.selected = false; // deselect it
      grpName = itext.contents; // get contents to name outline group
      var ioutlined = itext.createOutline(); // create outlines
      ioutlined.name = grpName; // rename group
      var perCent = width/ioutlined.width*100; // get scaling percentage, based on desired width of block
      var scaleMatrix = app.getScaleMatrix(perCent, perCent);
      ioutlined.transform (scaleMatrix); // scale outlined text
      ioutlined.left = left; // position text
      ioutlined.top = top+ioutlined.height+spacingPts; // top = previous item top + spacing + current item
      top = ioutlined.top // get current top to use on next item
      } // end if - non text frames
      } // end for loop - selection
      } // end check prompt for calcel
      } // end if selection > 1
      else
      alert ("Select at least 2 textFrames before running");
        } // end at least one document
    else
            alert ("There are no open documents");

  • Master page spread - data merge problem

    ok - I  prematurely posted b4 that I could successfully do this but am stuck with one  problem that is a show stopper.
    I have  a master page spread [left and right pages] which has several fields which I populate on  over 200 pages with data merge. I got this to work ok but teh snag is  that the merge only works  on teh first master page - and since InDesig automatically starts with a right hand page - this would be teh 2nd page of my spread - I can get  both pages to merge data correclty but I wind up with  a starting right hand page - then a left hand page  facing a right hand page which is not for hte same record but the record below it. Is tehre any way aroudn this? Is tehre any way I can force inDesign to start with a  left hand page?

    whohee - it worked - thanks a bunch - you guys in this forum are gre
    at!

  • Can't figure out how to finish restoring icloud to my new iphone 5s

    Just left Apple store, and they started restoring my icloud.  Choice between Later/Finish Restoring. I chose "Later" to get to messages. Now I'm home and can't figure out how to finish restoring.  Went to settings, then icloud and could not find anything to continue the restoring. I'm connected to my home wi-fi now, just need help to finish restoring.

    It should resume automatically.  Make sure it's connected to wifi and your charger.
    If it doesn't, go to Setting>iCloud>Storage & Backup and tap Stop Restoring at the bottom.  Then go to Settings>General>Reset, tap Erase All Content and Settings, go through the setup screens on your device and when given the option, choose Restore from iCloud backup and follow the prompts.  This will start the restore over.

  • How do I add page numbers to my document without the page numbers automatically changing. I do not want the page numbers the software automatically places into my document.

    How do I add page numbers to my document without the page numbers automatically changing? The title page is blank, I can type in 1 on the 1st typed page, but the #1 automatically goes into the next page and will not change.

    Click at bottom of the first page:
    Menu > Insert > Section break
    Click somewhere in the 2nd page (not the header/footer)
    Inspector > Layout > Section > Page Numbers > Start at 1 > Configuration > uncheck use previous headers and footers
    Click into the header or footer of the second page:
    Menu > Insert > Auto Page Numbers…
    If there is anything in the header or footer on the first page that you don't want just select it and delete it.
    If you really wanted to manual place page numbers on each page you will have to use a section break between each and every page. I can't imagine that would be useful.
    Peter

  • Trying to restore my Mac OS  after a hard drive failure and my password is no longer recognized, however I can log in by double clicking on the Lion Icon? How can I reset my password

    I am trying to restore my Mac OS after a hard drive failure and my password is no longer recognized, however I can log in by double clicking on the Lion Icon? How can I reset my password

    First, make sure caps lock is not on.
    Another reason why your password might not be recognized is that the keyboard layout (input source) has been switched without your realizing it. At the login screen, you can cycle through the available layouts by pressing the key combinationcommand-space or command-option-space. See this support article.
    If the user account is associated with an Apple ID, and you know the Apple ID password, then maybe the Apple ID can be used to reset your user account password.
    Otherwise*, boot into Recovery mode. When the OS X Utilities screen appears, select
    Utilities ▹ Terminal
    from the menu bar. In the window that opens, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window opens. Close the Terminal window to get it out of the way.
    Select your boot volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Follow the prompts to reset the password. It's safest to choose a password that includes only the characters a-z, A-Z, and 0-9.
    Select
     ▹ Restart
    from the menu bar.
    You should now be able to log in with the new password, but your Keychain will be reset (empty.) If you've forgotten the Keychain password (which is ordinarily the same as your login password), there's no way to recover it.
    *Note: If you've activated FileVault, this procedure doesn't apply. Follow instead these instructions.

  • On my computer I apply for unemployment benefits at the Unemployment Insurance Agency web-site. Just recently, when I log in for benefits, I get to the second page, and I get automatically kicked back to the log-in page.

    On my computer I apply for unemployment benefits at the Unemployment Insurance Agency web-site. Just recently, when I log in for benefits, I get to the second page, and I get automatically kicked back to the log-in page. I went to my local library, and I do not have this problem. I do not understand why I can log in, get to the second page, then I click proceed and I have to start all over without ever getting to the third page. Can someone figure this out?

    Yes AT&T is my ISP. I use DSL. Currently I am not at my home address. I am currently on a cable modem on COX.com.
    I am also receiving a warning message "WARNING: Parental control appears compromised!".

  • I use to be able to rotate my iPhone and change the view of an image, Web page, email, and so on, from portrait to landscape, but after update, I cannot. I can only view in portrait mode. Anybody know what's up with that?

    I use to be able to rotate my iPhone and change the view of an image, Web page, email, and so on, from portrait to landscape, but after update, I cannot. I can only view in portrait mode. Anybody know what’s up with that?

    You need to do the basic troubleshooting steps described in the User Guide, Appendix B.
    Restart phone
    Reset phone
    Restore in iTunes using a backup
    Restore in iTunes as new, without using a backup
    If restoring as new doesn't help, there is a hardware failure in the phone that needs evaluation by Apple.

Maybe you are looking for