• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
re: How would I trim off 5 inches from the right side of a PDF in Acrobat using AppleScript?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: How would I trim off 5 inches from the right side of a PDF in Acrobat using AppleScript?
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: Script to save webloc
  • Next by Date: Re: How would I trim off 5 inches from the right side of a PDF in Acrobat using AppleScript?
  • Previous by thread: How would I trim off 5 inches from the right side of a PDF in Acrobat using AppleScript?
  • Next by thread: Re: How would I trim off 5 inches from the right side of a PDF in Acrobat using AppleScript?
  • Index(es):
    • Date
    • Thread