Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Splitting not really covered by any hint.' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Splitting not really covered by any hint.
Authored by: cck on Sep 09, '03 03:30:18AM

You can split PDFs in Acrobat with a batch sequence. I found this javascript code in the javascript documentation for Acrobat 5. As you can see this one saves the pages on my desktop. Piece of cake! ;-)

/* Extract Pages to Folder */
// regular expression acquire the base name of file
var re = /.*\/|\.pdf$/ig;
// filename is the base name of the file Acrobat is working on
var filename = this.path.replace(re,"");
try {
for (var i = 0; i < this.numPages; i++)
this.extractPages(
{
nStart: i,
cPath: "/Users/ole/Desktop/"+filename+"_" + i +".pdf"
});
} catch (e) {
console.println("Aborted: "+e)
}



[ Reply to This | # ]