• 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: Adobe Illustrator CS3 placing a linked PDF image, cropping to bounding box
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adobe Illustrator CS3 placing a linked PDF image, cropping to bounding box


  • Subject: Re: Adobe Illustrator CS3 placing a linked PDF image, cropping to bounding box
  • From: Jim Skibbie <email@hidden>
  • Date: Wed, 25 Feb 2009 22:57:37 -0600
  • Thread-topic: Adobe Illustrator CS3 placing a linked PDF image, cropping to bounding box

Title: Re: Adobe Illustrator CS3 placing a linked PDF image, cropping to bounding box
I’ve found a “PDF options” object in the “settings” object that allows you to
edit this setting:
 
tell application "Adobe Illustrator"
    set AIDoc to current document
        set PDF crop bounds of PDF file options of settings to PDF bounding box
end tell


But that does not have the same result as placing an object manually and
selecting the “Crop to: Bounding Box”.

It should. How is it differing?

    The PDF that I am placing, when placed manually with the Crop to: set to “Bounding Box” is placed
    so that the size of the placed image is cropped right to the edge of the artwork on all sides.

    If I place it manually with the Crop to: set to “Media Box”, it comes in with the same media box
    that was set when the PDF was made.

    If I use the scripting I’ve made, it doesn’t matter what value is set in the PDF crop bounds
    setting, “PDF media box” or “PDF bounding box”, the result is as if you manually place the PDF with
    the Crop to: set to “Media Box”

    If you are interested, I can send the PDF to you if you’d like to try it yourself. Maybe it’s the way
    the PDF is created that makes it react this way?

Is there some way to specify how to crop the object as you make the new placed
item similar to how it is done manually in Illustrator?

No; the above is how it's supposed to be done.

--
Shane Stanley <email@hidden>


 _______________________________________________
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: Adobe Illustrator CS3 placing a linked PDF image, cropping to bounding box
      • From: Stan Cleveland <email@hidden>
  • Prev by Date: Re: Adobe Illustrator CS3 placing a linked PDF image, cropping to bounding box
  • Next by Date: Mount Volume with space in it
  • Previous by thread: Re: Adobe Illustrator CS3 placing a linked PDF image, cropping to bounding box
  • Next by thread: Re: Adobe Illustrator CS3 placing a linked PDF image, cropping to bounding box
  • Index(es):
    • Date
    • Thread