Text Layers in Photoshop CS5
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