• 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 CS5 - getting width and height of selection?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Indesign CS5 - getting width and height of selection?


  • Subject: Re: Indesign CS5 - getting width and height of selection?
  • From: Shane Stanley <email@hidden>
  • Date: Wed, 08 Feb 2012 23:16:14 +1100

On 08/02/2012, at 11:10 PM, Håvard Graudo wrote:

> Thank you for the code, it does work, but I was hoping to just get the values without changing the items.
> There will be surprises with grouping across layers, items may belong to other groups etc.
>
> Skipping the MOVE part and only group and calculate (y2-y1, x2-x1) would reduce risk a bit, but it is still a roundabout way of getting the values:
>
> Since the values I am after are displayed in the Control Panel I was hoping to just pick them up from somewhere.
> If someone knows how to access that info I would appreciate it.

Your choices are to get the bounds of all the items and do the sums yourself, or use something like Jan's script, but after grouping (and getting the measurement) use undo rather than ungroup. That will avoid any change to groups and layers.

--
Shane Stanley <email@hidden>
'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>


 _______________________________________________
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 CS5 - getting width and height of selection?
      • From: Håvard Graudo <email@hidden>
References: 
 >RE: Indesign CS5 - getting width and height of selection? (From: email@hidden)
 >Re: Indesign CS5 - getting width and height of selection? (From: Håvard Graudo <email@hidden>)

  • Prev by Date: Re: Indesign CS5 - getting width and height of selection?
  • Next by Date: Re: Indesign CS5 - getting width and height of selection?
  • Previous by thread: Re: Indesign CS5 - getting width and height of selection?
  • Next by thread: Re: Indesign CS5 - getting width and height of selection?
  • Index(es):
    • Date
    • Thread