WhatTheyThink Acquires PrepressForums.com, Releases New Version of PrintPlanet

This site is a static archive, you are free to search, and view but no new posts or registrations are allowed.

Please visit printplanet.com for the new discussion groups

Prepress Forums  

Go Back   Prepress Forums
Googlemap ME Members List Calendar Search Today's Posts Mark Forums Read

» Site Navigation
 > FAQ
» Skyscraper

View Single Post
  #3 (permalink)  
Old 05-27-2005, 12:33 PM
Kakuzo Kakuzo is offline
Member
 
Join Date: May 2004
Location: San Diego
Posts: 49
If you're trying to separate the 102 page PDF into 102 individual PDFs try this:

Go to Advanced > Batch Processing
Create a new sequence and select "Execute JavaScript."
Paste the following text into the window?

- - -

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

- - -

Execute the sequence and you'll get 102 separate files. I found this little trick on another forum. Works wonders.
Reply With Quote
 

All times are GMT -8. The time now is 12:32 AM.


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Powered by vBadvanced CMPS v3.0 RC1