Solved

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

Posted on 2012-03-20
2
381 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

Update 21-May-2015: I temporarily removed the source code to make major changes to the program. Regards, Joe In a previous Experts Exchange article, How To Rename-Move a Batch of PDF Files Based on Contents of the Files (http://www.experts-exchan…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this first video of the three-part Xpdf series, we introduce and describe Xpdf, a library containing nine command line utilities that perform various functions on PDF files. We show where the library is located and how to download it, discuss its…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…

729 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