Solved

extract current page from acrobat pdf to new page and give it a title of a variable

Posted on 2012-03-20
2
378 Views
Last Modified: 2012-03-20
this.extractPages({nStart:1, "newfile.pdf"});

This line of code above will create a new pdf from page one of the open pdf in Adobe Acrobat Pro.

Can you help change this code so that it will create a new pdf from the current page instead of page1

then instead of naming the file "newfile.pdf" I would like to name it with a variable that already exits on the page.  

 so it would be something like this

this.extractPages({nStart:currentPage, variableName + ".pdf"});

Can you help me with this?
0
Comment
Question by:ForLoop5
  • 2
2 Comments
 
LVL 1

Author Comment

by:ForLoop5
ID: 37744658
I think this is something along the lines of what Im looking for.  

this.extractPages({nStart: i,cPath : filename + i + ".pdf"
0
 
LVL 1

Accepted Solution

by:
ForLoop5 earned 0 total points
ID: 37745434
No one around here huh?
Here is the line of code that took care of this for me

this.extractPages({nStart:i, cPath: PageText + ".pdf"});
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever come up with a need of emailing only few pages of PDF file to one of yourfriend or colleague, instead of whole Adobe file? If yes, then surely you have face problems in doing that! Read this section as I have suggested multiple solutio…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this video, we show how to convert an image-only PDF file into a PDF Searchable Image file, that is, a file with both the image (typically from scanning) and text, which is created in an automated fashion with Optical Character Recognition (OCR) …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question