AppleScript / INDD CS3 / importing images and offsetting within frame.
AppleScript / INDD CS3 / importing images and offsetting within frame.
- Subject: AppleScript / INDD CS3 / importing images and offsetting within frame.
- From: Kevin Muldoon <email@hidden>
- Date: Thu, 16 Oct 2008 11:41:12 -0400
Need a hand here,
Importing images into an InDesign document and need to move the image within the frame. Need something like "set offset of framedImage to {-1.0,1.0}. Code snippet appreciated. The AppleScript API of InDesign is very strange compared to Quark. Thanks!
set imageFrame to make rectangle at page pg with properties {geometric bounds:(obj's frameBounds), stroke color:swatch id swatchIDnone, fill color:swatch id swatchIDwhite, item layer:obj's layerID, label:"script label name"} set framedImage to place (obj's filePath) on imageFrame with properties {absolute horizontal scale:(obj's scaleFactor), absolute vertical scale:(obj's scaleFactor)}
-- Kevin Muldoon, Owner TrueBlueDot - Fine Art Printing New Haven, CT 06511 www.truebluedot.com "Our pigment meets your imagination"
|
_______________________________________________
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