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

Text Layers in Photoshop CS5


  • Subject: Text Layers in Photoshop CS5
  • From: "Fleisher, Ken" <email@hidden>
  • Date: Wed, 23 Mar 2011 16:22:16 -0400
  • Thread-topic: Text Layers in Photoshop CS5

Title: Text Layers in Photoshop CS5
I have an applescript that creates text layers in Photoshop CS5. The script works, but when creating text layers, it becomes very slow. Every property is set on an individual line. I have not found a way to set all properties and create the text layer in a single action, or even to just set multiple properties in a single command. Is this possible, or do I need to do it as in my example code below? Thanks in advance for any advice you can provide.

Ken

set filelayerref to make new art layer at captionGroup with properties {kind:text layer, name:"Filename_caption"}
set
filenameref to text object of filelayerref
set justification of filenameref to left
set contents of contents of filenameref to captionname of pashuaResult
set size of filenameref to 10
set
stroke color of filenameref to thetextcolor
set font of filenameref to "Helvetica"
set
position of contents of filenameref to {10, (h - 50)}
set
thedimensions to get (bounds of filelayerref) as list
set fileNameW to (item 3 of thedimensions) - (item 1 of thedimensions)

--
Ken Fleisher

Color Scientist
Imaging & Visual Services
National Gallery of Art
Washington, D.C.

Phone: (202) 712-7471
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: Text Layers in Photoshop CS5
      • From: Stan Cleveland <email@hidden>
    • Re: Text Layers in Photoshop CS5
      • From: KOENIG Yvan <email@hidden>
    • Re: Text Layers in Photoshop CS5
      • From: Alex Zavatone <email@hidden>
  • Prev by Date: Re: copy url rom safari to firefox issue
  • Next by Date: Re: Text Layers in Photoshop CS5
  • Previous by thread: Quark 8.5 and OS 10.6.6
  • Next by thread: Re: Text Layers in Photoshop CS5
  • Index(es):
    • Date
    • Thread