Adobe Illustrator CS3 placing a linked PDF image, cropping to bounding box
Adobe Illustrator CS3 placing a linked PDF image, cropping to bounding box
- Subject: Adobe Illustrator CS3 placing a linked PDF image, cropping to bounding box
- From: Jim Skibbie <email@hidden>
- Date: Wed, 25 Feb 2009 16:04:38 -0600
- Thread-topic: Adobe Illustrator CS3 placing a linked PDF image, cropping to bounding box
Title: Adobe Illustrator CS3 placing a linked PDF image, cropping to bounding box
I’m placing a linked PDF image into an Illustrator file using Applescript.
When you do this manually, the Place dialog box has a pop-down menu that says:
Crop to: Bounding Box (with other choices: Art, Crop, Trim, Bleed, Media).
I can’t seem to replicate with Applescript the “Crop to: Bounding Box” setting.
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”.
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?
set placed_file to make new placed item in AILayerNameByRef ¬
with properties {file path:file_ref, position:{PlacedX, PlacedY}}
Thanks.
Jim
_______________________________________________
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