Re: INDESIGN: Problem with Object Placement
Re: INDESIGN: Problem with Object Placement
- Subject: Re: INDESIGN: Problem with Object Placement
- From: Shane Stanley <email@hidden>
- Date: Wed, 07 May 2008 13:08:39 +1000
- Thread-topic: INDESIGN: Problem with Object Placement
On 7/5/08 12:41 PM, "Rick Gordon" <email@hidden> wrote:
> set GeometricBounds to {item 1 of bounds, item 2 of bounds, item 3 of bounds,
> item 4 of bounds}
That's awfully inefficient -- it's asking InDesign for the bounds four times
(look in the log). And you're then doing it for every page, even though the
bounds you want are going to be the same throughout.
Why not something like:
<outside the loop>
set pageBounds to bounds of page 1
<inside loop>
make new rectangle at end with properties {stroke weight:pEdgeStrokeWeight,
stroke color:pEdgeStrokeColor, stroke alignment:outside alignment,
geometric bounds: pageBounds, text wrap type:none, label:pLabel & vCount}
--
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