08.08.14, 15:24
Hi there
I’d like to open each page in a long PDF document, do some things to it, and then save and close. Is there a way to specify which page in the PDF to open?
My code so far looks like this:
var myDirectory = script.file.parent;
var myFile = new File(myDirectory, 'File name.pdf');
var myDoc = new Document(myFile, 'cmyk', 'none');
It’s working fine, but I don’t want to have to manually tell it which page to open each time. So ideally I would change it to something like this:
var myDirectory = script.file.parent;
var myFile = new File(myDirectory, 'ANNUAL REPORT DECEMBER 2011.pdf');
for(i = 0; i
}
I’d appreciate any insights.