Solved

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

Posted on 2012-03-20
2
375 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
Comment Utility
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
Comment Utility
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
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…

762 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now