How do I extract pages from a current open pdf via script?

I am using the following script to extract all pages to seperate pdf files, but nothing happens??
var filename = "PageOutput";
for (var i = 0; i < this.numPages; i++)
    this.extractPages({
        nStart : i,
        cPath : filename + i + ".pdf"});
Any ideas.  This code was taken directly from the Acrobat javascripting Guide.  The guide is for version 7, I am using version 9.
John

You do not need to use a menu item. You need a script that is at the application folder level, in a batch process, or an added menu item. Adding a menu item requires and application folder level script or console JavaScript.
To save a file see How to save a PDF with Acrobat JavaScript by Thom Parker.
To add a custom menu item see Adding Custom Menu Commands by Ted Padova or Add a Custom Menu Item to Acrobat by Thom Parker.
You should also download the Acrobat JS API Reference from the Adobe Acrobat Developer Network.

Similar Messages

  • How do i extract pages from within a pdf document?

    how do i extract pages from within a pdf document?

    Hi adobespurs,
    To extract pages from a PDF, you need to use Acrobat. If you don't have Acrobat, you can try it for free for 30 days. Please see www.adobe.com/products/acrobat.html for more information.
    Best,
    Sara

  • How do I extract pages from a Secured PDF file

    How do I extract pages from a Secured PDF file?

    Adobe would call that hacking, and don't allow discussion of it in this forum. You should contact the copyright holder and see if they are prepared to release the password, or an unsecured document, to you. If it's something made for you like a bank statement you should tell the bank how inconvenient their choices are.

  • Just had Adobe Reader 11 installed on my Mac desktop.  How do I extract pages from a PDF?

    Just had Adobe Reader 11 installed on my Mac desktop.  How do I extract pages from a PDF?

    You can extract pages with Adobe Acrobat, not Adobe Reader.

  • How do I extract pages from a pdf using 'Adobe PDF Pack'?

    How do I extract pages from a pdf using 'Adobe PDF Pack'?

    I think you have to buy extractor for 1.99 a month to extract PDF.  But I am having trouble activating it.  Good luck.

  • How do you extract pages from .indd to create a new .indd?

    How do you extract pages from .indd to create a new .indd?

    Laubender schrieb:
    @moseymums – two answers here:
    1. Duplicate the document and remove all not wanted pages.
    2.a Duplicate all selected pages in the Pages Panel to a different open InDesign file (the target) with the "Move Pages…" command.
    2.b Remove all unwanted pages from the target InDesign file.
    Uwe
    But take care on text threads accross several pages. If you delete a page with a text frame linked to a thread accross several pages, the text will change to the beginning of the thread on every first page.
    So it might be good to run a script which will unlink threadened text frames before.
    If you have often to do this task, there are several plugins which will help you to perform this. E.g. Output factory from http://zevrix.com/

  • How do I extract pages from a PDF?

    I am trying to extract pages from a pdf document through Adobe XI and the command is not there through page thumbnails or through tools.  What can I do?  We have the current version which I verified through checking for updates.
    [Please choose only a short description for the thread title.]
    Message was edited by: Jim Simon

    "Adobe XI" does not exist.
    There is Acrobat XI (Standard or Pro).
    There is Adobe Reader XI.
    Acrobat XI Pro (and maybe Standard) can extract pages from a PDF.
    Adobe Reader XI cannot extract pages from a PDF.
    Once either application is open it is easy to determine which you have open.
    The "name" is in the top most "ribbon" of the application window.
    From what you've written it appears that you are using Adobe Reader XI.
    Be well...

  • How can I extract pages from a PDF? The Tools menu is missing.

    I used to be able to extract pages from my PDF file. I don't see the tools icon anymore. How can I access the tools icon?

    Hi lenm,
    To extract pages, you need to use Acrobat (not Adobe Reader). As I can attest (because I do have both Reader and Acrobat installed on the same computer), it is quite easy to open files in Reader when you mean to open then in Acrobat. So, please make sure you have the right app open. (I pull this one all the time!)
    Now, if the Tools menu is missing from Acrobat, choose View > Show/Hide > Toolbar Items > Show Toolbars to make them reappear.
    Please let us know how it goes.
    Best,
    Sara

  • How do I save pages from my website in PDF, and prove the image was capture on a given date?

    How do I save pages from my website, [link removed] into a PDF file, with proof of the date the pdf file was created on? I need to display the content of each unique url of my site in PDF format for compliance purposes, and prove the image was taken from a given date. Anyone can help that would be great.

    Impossible to do with Reader. If you own Acrobat and use Create PDF from Webpage. The document will have a creation date. If you then sign the pdf on the date of creation, you have proof of when the document was created and proof that the document wasn’t altered since signed.

  • How do i extract pages from a large pdf file?

    I have Windows XP, with Adobe Reader 9 and PDF version 1.4 (Acrobat 5.x) installed. I received a large pdf file (19,000KB) with 25 pages of architectural drawings. I want to extract just 8 pages from that document. Under the Documents Properties Tab, it states page extraction is allowed. How do i do this?
    Morgy1

    I'm not an Acrobat user. But if you have a PDF print driver or if Acrobat 5 5 has a print PDF mode you can tell the PDF print driver to print the page number that you want and it should prompt you to save the individual page in PDF format. If you don't have a PDF print driver you can Google PDFCreate and got to its website and download it and install it.

  • How do I extract pages from an accessible document and keep the tags?

    I have a 300 page document that contains tags. I need to extract 5 pages with complex <Table>  structures and maintain the tags. I also want to Import the same pages into another document while maintaining the Tags.
    My efforts this far gives the 5 extracted pages and there are Tags but they no longer seem connected to the pages.
    Am I asking too much?

    Thank you very much for the assistance. I ended up deleting all of the pages and Tags but those that I wanted to "export". Saving that as a file and combining it successfully.
    I did indeed follow the instructions for Extracting, but as with many things in Acrobat, it has its issues.
    Here is what I think happened that ensured failure before. First I assumed that if I export the pages the Tags "belonging" to those pages would export as well without difficulty. For each page I created a new Section and named it for the page number. So with the auto-tagging completed I created Section for each page and moved the Tags under the proper Sections. However I had not completed the process for the entire document when I needed to do the Export. I apparently left Tags belonging to later pages in the document (they were buried in Sections of Sections).
    When I originally exported, I had the pages I wanted and a lot of Tags relating to pages at the beginning of the document as well as Tags for pages near the end of the document. Clearly the Tags (in the Tag View) for the pages not exported were dead. But so were the Tags for the pages that were exported.
    I expect that not having the Tags in proper order made Acrobat lose its mind during the export process.

  • How do I extract pages from my original PDF?

    Hi, I have a longer PDF (15 pages) that I need to create a new PDF from with just a few pages (pages 3-5, 7). How can I do this? The only way I've been able to figure out is to take a snapshot, paste it into Publisher or Word, and then convert it back into a PDF. However, this seriously reduces the quality, not to mention how tedious it is.
    I currently have the "Export PDF" program but wonder if the "Adobe PDF Pack" would allow me to do this. Or, is there just something I'm totally missing in Adobe Reader?
    Thanks so much!

    Hi CMML,
    You can use Adobe Acrobat to split out the pages (this feature isn't included in the PDF Pack subscription). You're welcome to download a free 30-day trial of Acrobat to give it a try. For more information, please see www.adobe.com/products/acrobat.html.
    Best,
    Sara

  • How Can I extract pages from a PDF document into a separate document by clicking a link?

    Hi,
    I have created a large PDF document with several pages, I have a link symbol on the contents page of the document that relates to several services on different pages within the document. Currently they are identified by having the same link symbol on every page that relates to that particular service. I was wondering if there was any way in which I can create a interactive pdf, when I click the initial symbol link on the contents, it collates all the relevant linked service pages into a single document or guides the viewer to all the pages without having to create a separate pdf document for each service?
    Many thanks
    Yunus

    Simple answer - no. PDF files cannot reassemble themselves into new documents, nor can you hide pages.

  • How do i extract pages from a pdf file folder on my computer system?

    This whole set-up is starting to piss me off.  I have spent all morning downloading this FREE trial and it has not done anything it purports to do.

    Customdoor which Adobe software or service is your inquiry in reference too?  You can find a list of our available forums at https://forums.adobe.com/welcome.

  • How can get the page source of current open tab through addon?

    i need page source.

    You can prefix the URL with the view-source: protocol to see the page source in a tab.
    *view-source:https://support.mozilla.org/en-US/questions/1021351

Maybe you are looking for

  • Across row validation in tabular form and across items in row validations.

    Hi, We are upgrading to APEX 4.0. I need to create a tabular form that will have a start date and an end date. FOr each new row or updated row I need ensure its start date is after the end date of all rows already entered and its end date is after th

  • No longer able to message photos on iPad3.

    When trying to share a photo from my photo albums on ipad3, I no longer get the green message option to send photos.  Only Facebook or email etc.  please help!  Previously,I have had no problem sharing photos by this option.  I have tried send just o

  • BB Curve Will Not Turn On

    Alright, so the other day me and some friends were at a waterfall and they were throwing rocks and one hit my phone, which was face up in my pocket, and cracked the outer plastic screen. Didn't touch the LCD. I took the phone out of my pocket and the

  • Switch on open item mangement.-ERROR

    We are in version Ecc 6.0 ,We have a Balancesheet Gl account.We have made the balance equal to zero.And now want to switch on open item mangement. But it displays below message: Account balance =0 but open items exist in the account The data contains

  • Vendor Hierarchy - Creating Master Record for a Vendor Hierarchy node

    Hi gurus, I have configured the Vendor hierarchy as per procedure. What is the T code/path to create the master record for a vendor hierarchy node? Also please let me know the procedure to map the existing vendors to the hierarchy. Thanks and regards