On Mon, 21 Apr 2008, Jean-Denis Muys wrote:
> 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 would use a command line tool like pdftk. If your AppleScript works
for identifying the pages you need to extract, why don't you use it for
producing a shell script that calls pdftk with appropriate parameters?
Just for your information:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pdftk-1.41-1: Handy tool for manipulating PDF
If PDF is electronic paper, then pdftk is an electronic
staple-remover, hole-punch, binder, secret-decoder-ring,
and X-Ray-glasses. Pdftk is a simple tool for doing
everyday things with PDF documents. Use it to:
.
* Merge PDF Documents
* Split PDF Pages into a New Document
* Decrypt Input as Necessary (Password Required)
* Encrypt Output as Desired
* Fill PDF Forms with FDF Data and/or Flatten Forms
* Apply a Background Watermark
* Report PDF Metrics such as Metadata and Bookmarks
* Update PDF Metadata
* Attach Files to PDF Pages or the PDF Document
* Unpack PDF Attachments
* Burst a PDF Document into Single Pages
* Uncompress and Re-Compress Page Streams
* Repair Corrupted PDF (Where Possible)
.
Web site: http://www.accesspdf.com/pdftk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pdftk is available as Fink package. I am sure there are also other tools
that could do that.
Cheers,
Claus
-------------------------------------------------------------------------
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