Re: Indesign CS4 question
Re: Indesign CS4 question
- Subject: Re: Indesign CS4 question
- From: Stan Cleveland <email@hidden>
- Date: Mon, 17 Aug 2009 14:14:29 -0700
- Thread-topic: Indesign CS4 question
On 8/17/09 1:27 PM, "Stockly, Ed" wrote:
> In CS2, you can adjust the geometric bounds of the image, just as you do the
> rectangle.
>
Hi Mark,
In fact, what Ed suggests is the only way to control the absolute position
an image.
ThereĀ¹s a big difference between scripting images in InDesign and using the
GUI. In the GUI, an image's geometric bounds are relative to it's containing
rectangle, so when you move a rectangle, the image goes along for the ride.
But when scripting, both the rectangle's and the image's bounds are relative
to the page, not each other. So if you reposition the rectangle, you must
separately reposition the image.
InDesign's 'fit' AS command does provide a way to position an image relative
to its containing rectangle, but only if one of the command options does
what you need (center, proportional fit, etc.). If not, you'll need to
calculate new geometric bounds for both rectangle and image and reposition
them individually.
Stan C.
_______________________________________________
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