Re: Scripting shadows in CS2 text layer
Re: Scripting shadows in CS2 text layer
- Subject: Re: Scripting shadows in CS2 text layer
- From: Martin Orpen <email@hidden>
- Date: Mon, 18 Dec 2006 20:55:34 +0000
On 18 Dec 2006, at 12:08, Jay Louvion wrote:
Apply layer style layer1 using drop shadow (supposed ot create a
drop shadow on a text layer)
My version of CS2 is in french, so I tried the french name for the
menu item “ombre portée” - nope
I tried to quote the texte (since the dicionnary states this
variable is Unicode text) and it compiles, but returns that the
element is not available when you get to that bit in my script.
Jay
The layer style "name" is the name of a pre-set or custom style that
you'll find in the "Styles" pallet - not the name of the the generic
layer "Styles" that you see on the left hand side of the dialogue box
that you get if you double-click a layer.
Make a custom style by using the that layer styles dialogue and then
save it as a custom style in the Styles pallet. I've made one called
"DS2" and can apply it like this:
tell application "Adobe Photoshop CS2"
tell current document
apply layer style art layer 1 using "DS2"
end tell
end tell
Regards
--
Martin Orpen
Idea Digital Imaging Ltd
_______________________________________________
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/mailman//archives/applescript-users
This email sent to email@hidden