re: How would I trim off 5 inches from the right side of a PDF in Acrobat using AppleScript?
re: How would I trim off 5 inches from the right side of a PDF in Acrobat using AppleScript?
- Subject: re: How would I trim off 5 inches from the right side of a PDF in Acrobat using AppleScript?
- From: David Crowe <email@hidden>
- Date: Thu, 8 Jan 2009 15:31:36 -0700
Title: re: How would I trim off 5 inches from the right
side of a
Again, I think you can crop pages with _javascript_ (built into
Acrobat). _javascript_ can be executed via calls from applescript to get
the list of files and process them one at a time, or you may be able
to use Acrobat's batch processing;
Here's some example processing from the Acrobat _javascript_
manual:
var nPages =
this.numPages;
// Get the crop box for "this" document:
var aCrop = this.getPageBox();
This addresses two recent questions.
This just gets the crop box, but I believe that the function
"setPageBoxes" will do the job for you.
- David Crowe
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden