Re: Text Layers in Photoshop CS5
Re: Text Layers in Photoshop CS5
- Subject: Re: Text Layers in Photoshop CS5
- From: KOENIG Yvan <email@hidden>
- Date: Wed, 23 Mar 2011 21:34:03 +0100
Le 23 mars 2011 à 21:22, Fleisher, Ken a écrit : 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)
I don't own Photoshop but I guess that :
set filelayerref to make new art layer at captionGroup with properties {kind:text layer, name:"Filename_caption"} set filenameref to text object of filelayerref tell filenameref set contents of contents to captionname of pashuaResult set properties to {justification:left, size: 10, stroke color: thetextcolor, font: "Helvetica"¡ set position of contents to {10, (h - 50)} end tell set thedimensions to get (bounds of filelayerref) as list set fileNameW to (item 3 of thedimensions) - (item 1 of thedimensions)
may do the trick.
Yvan KOENIG (VALLAURIS, France) mercredi 23 mars 2011 21:33:08
|
_______________________________________________
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