On 21 Apr 2008, at 11:03 AM, Jean-Denis Muys wrote: > Hi, > > I wasn't able to copy and paste a page from a PDF document into > another with > Skim. Is there a way? > > I *can* copy any *single* page from a document, and then use the > "new from > clipboard" menu item, but: > > 1- I cannot copy *several* pages in the first step. Is there a way? > 2- I cannot do it one page at a time because I cannot paste a page > into an > existing document. Is there a way?
No, not using Skim. > > > To give you some background: > > I started to use Skim just a few days ago, mainly because of its > Applescript > support. I need to be able to split very large PDF files (over 4000 > pages) > into smaller pieces. Each piece may have a variable number of pages, > depending on the context (text) of the specific pages. > > My script is sucessful in identifying the starting page and the > ending page > of each segment. > > However, I am stuck, as I cannot manage to extract those pages into > a new > document. > > I tried things like: > > tell application "Skim" > make new document with data (pages 3 thru 5 of document 1) > end tell > > But it failed with error message "Skim got an error: Applescript > handler > failed". > > Note that "make new document" works fine: Skim creates an empty > document, > but then I cannot populate it, This is not supported. The empty document is created by the system, it shouldn't even happen. > as I seem to misunderstand the "join" > statement, as in: > > join pages 1 thru 4 of document "source.pdf" to document "dest.pdf" > The "join" command is used to join selections, not pages. > Which fails with "can't get document "dest.pdf"" > > I am still not finished exploring, but I can't really see a > promising track > a this point. I hope I don't have (for performance reasons), to fall > down to > an algorithm along the lines of: > > For each page subrange > duplicate source document > remove from duplicate all pages not belonging to current segment > rename and save duplicate document > > I'd welcome some help. > > Thanks, > > Jean-Denis In short: Skim does not support adding/removing/reordering pages in any way. Christiaan ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Skim-app-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/skim-app-users
