Modify python script, or best way to extract PDF pages?
Modify python script, or best way to extract PDF pages?
- Subject: Modify python script, or best way to extract PDF pages?
- From: Richard Rönnbäck <email@hidden>
- Date: Fri, 20 Jan 2006 08:54:52 +0100
- Thread-topic: Modify python script, or best way to extract PDF pages?
Title: Modify python script, or best way to extract PDF pages?
I need a way to extract all pages so separate files from multi page-PDF files.
While I could script Acrobat to do it, I rather have a faceless process, as it is meant to run on a server with hot folders. Nor have I been able to use Automator and it's module for extracting pages, as it produces really whacky file names and I need full control over the output file names.
I do however notice that Automator uses a python script to do it's job, so I guess it would be possible to modify it. The script is located in "Macintosh HD:System:Library:Automator:Extract Odd & Even Pages.action:Contents:Resources:extract.py"
ideally I would want something that I can call from the shell with parameters such as input file and output folder. File names should be "original file name_page number.pdf " The problem is that I know nothing about python and while it seems to be a very interesting language the task of modifying it is way more than I can manage.
Can someone with python knowledge help me?
Or, if someone has an alternative to the above approach?
rgds
Richard Rönnbäck
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden