Stone Design Forums

Discussion for all things pertaining to Stone Design software
It is currently Sat May 25, 2013 6:02 am

All times are UTC - 7 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: PStill Suggestion
PostPosted: Thu Nov 11, 2004 2:26 pm 
It would be great if PStill could split a multipage PDF into single pages.

Thanks,
Hugh


Top
  
 
 Post subject:
PostPosted: Thu Nov 11, 2004 2:36 pm 
Offline
The Head Cheese
User avatar

Joined: Thu Mar 11, 2004 12:19 am
Posts: 1390
Location: Albuquerque
Create can already do this! ;-)
Drop multipage PDF onto the Create dock tile, drag out from the Image well as PDF.

To automate it - save an applescript like this:

Code:
-- make a new unique folder name based on the current time
set basedir to "~/Documents/Create/slides-"
set theDate to current date
set destination to basedir & year of theDate & ¬
   "-" & month of theDate & "-" & day of theDate & "+" & time of theDate ¬
   & "/"


tell application "Create"
   tell the front document
      set thepages to pages
      set totalpages to pagecount
      repeat with i from 1 to totalpages
         if i < 10 then set filename to destination & "Slide_0" & i & ".pdf"
         if i > 9 then set filename to destination & "Slide_" & i & ".pdf"
         set currentpage to i
         tell page i
            export in filename
         end tell
      end repeat
   end tell
end tell


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group