• 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: Text Layers in Photoshop CS5
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Text Layers in Photoshop CS5


  • Subject: Re: Text Layers in Photoshop CS5
  • From: Stan Cleveland <email@hidden>
  • Date: Wed, 23 Mar 2011 15:27:58 -0700

On Mar 23, 2011, at 2:29 PM, Fleisher, Ken wrote:

 I cannot set properties of the text object at the same time as creating the layer because it seems there is no text object yet to assign properties to.

Ken, I agree with you that this seems to be a Photoshop-imposed limitation.

Also, I cannot set the contents of contents of the text layer in the same properties assignment because (well, I don’t know why, but the text doesn’t come out right).

set textobj to text object of textlayer
set properties of textobj to {position:{10, h - 10}, justification:left, size:24, ¬
stroke color:{class:Lab color, value_L:55, value_a:20, value_b:0}, font:"Helvetica"}
set contents of contents of textobj to "This is text"

It seems to work if you use just "contents" rather than "contents of contents". I would also eliminate the extra step of defining the "textobj" variable:

set properties of text object of textlayer to {kind:point text, position:{10, h - 10}, ¬
justification:left, size:24, stroke color:{class:Lab color, value_L:55, ¬
value_a:20, value_b:0}, font:"Helvetica", contents:"This is text"}

Stan C.

 _______________________________________________
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: Text Layers in Photoshop CS5
      • From: "Fleisher, Ken" <email@hidden>
References: 
 >Re: Text Layers in Photoshop CS5 (From: "Fleisher, Ken" <email@hidden>)

  • Prev by Date: Re: Text Layers in Photoshop CS5
  • Next by Date: Re: Text Layers in Photoshop CS5
  • Previous by thread: Re: Text Layers in Photoshop CS5
  • Next by thread: Re: Text Layers in Photoshop CS5
  • Index(es):
    • Date
    • Thread