• 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: INDESIGN: Problem with Object Placement
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: INDESIGN: Problem with Object Placement
      • From: Rick Gordon <email@hidden>
References: 
 >Re: INDESIGN: Problem with Object Placement (From: Rick Gordon <email@hidden>)

  • Prev by Date: Re: INDESIGN: Problem with Object Placement
  • Next by Date: Re: INDESIGN: Problem with Object Placement
  • Previous by thread: Re: INDESIGN: Problem with Object Placement
  • Next by thread: Re: INDESIGN: Problem with Object Placement
  • Index(es):
    • Date
    • Thread