hmFree_PDF Split

hmFree_PDF Split(path) -> pages

Parameter          Type              Description
path               Text          ->  Path to the PDF
pages              Longint       <-  Number of generated pages

Description

The command hmFree_PDF Split splits a PDF document, defined by path into its pages. The number of pages is returned. Each page is split into a separate PDF with one page.
The result PDF files are named by the inputfile plus the page number.

This command only works on Macintosh.

Example

Input file is Macintosh HD:mydocument.pdf

The result files are:

Macintosh HD:mydocument.pdf1
Macintosh HD:mydocument.pdf2
Macintosh HD:mydocument.pdf3