• 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: Photoshop: Get the height/width of a text layer?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Photoshop: Get the height/width of a text layer?


  • Subject: Re: Photoshop: Get the height/width of a text layer?
  • From: "Duane L. Mitchell" <email@hidden>
  • Date: Thu, 27 Feb 2003 22:08:17 -0500

Kenton said:

> Your workaround sounds almost as convoluted as mine,

The solution is not so bad as the description which was an ordeal to
ascertain.

--create text
--move it to a known position
--get the postion -> {x,y1}, bottom left corner
--set text to paragraph text
--get the position -> {x,y2}, top right corner
--y1 - y2 is the height of the type
--set the text to fully justified
--get the width of the text

Now you have all the information you need about the type but it might not be
the best typography.


-Duane

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Duane L. Mitchell
Next Generation Solutions
31 Granby Road Worcester, MA 01604-1643
email@hidden 508-792-4396
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Photoshop: Get the height/width of a text layer? (From: Kenton Muschenheim <email@hidden>)

  • Prev by Date: New scripter Q: calling upon a generic file name?
  • Next by Date: Re: applescript-users digest, Vol 3 #1390 - 13 msgs
  • Previous by thread: Re: Photoshop: Get the height/width of a text layer?
  • Next by thread: Property immutability
  • Index(es):
    • Date
    • Thread