Link to home
Start Free TrialLog in
Avatar of ForLoop5
ForLoop5Flag for United States of America

asked on

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

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?
Avatar of ForLoop5
ForLoop5
Flag of United States of America image

ASKER

I think this is something along the lines of what Im looking for.  

this.extractPages({nStart: i,cPath : filename + i + ".pdf"
ASKER CERTIFIED SOLUTION
Avatar of ForLoop5
ForLoop5
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial