• 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: Rick Gordon <email@hidden>
  • Date: Tue, 6 May 2008 19:41:39 -0700

Yes, that seems to be the case. I've substituted the following code, and that seems to work:

set GeometricBounds to {item 1 of bounds, item 2 of bounds, item 3 of bounds, item 4 of bounds}
set y1 to 0
set x1 to 0
set y2 to (item 3 of GeometricBounds) - (item 1 of GeometricBounds)
set x2 to (item 4 of GeometricBounds) - (item 2 of GeometricBounds)
make new rectangle at end with properties {stroke weight:pEdgeStrokeWeight, ¬
	stroke color:pEdgeStrokeColor, stroke alignment:outside alignment, ¬
	geometric bounds:{y1, x1, y2, x2}, text wrap type:none, label:pLabel & vCount}

Rick Gordon

------------------

On 5/7/08 at 12:21 PM +1000, Shane Stanley wrote in a message entitled
"Re: INDESIGN: Problem with Object Placement":

>On 7/5/08 12:03 PM, "Rick Gordon" <email@hidden> wrote:
>
>> No, they're set to page origin.
>
>It's probably the way you're using "bounds" to set the geometric bounds. I suspect a page's bounds are relative to its containing spread, regardless of page origin. I'd be inclined to get the bounds just of page 1 and reuse that, or get the page width and height and use them.
>
>--
>Shane Stanley <email@hidden>


--

___________________________________________________

RICK GORDON
EMERALD VALLEY GRAPHICS AND CONSULTING
___________________________________________________

WWW:   http://www.shelterpub.com
 _______________________________________________
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: Shane Stanley <email@hidden>
  • Prev by Date: Calling ASS application from applescript
  • 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