Skip to main content
May 8, 2009
Question

apply layer style

  • May 8, 2009
  • 1 reply
  • 3911 views

apply layer style layer1 using "Sunset Sky (Text)"

The above statement works for me in Photoshop

In the same way, Is there way that I can

apply layer style art layer using "Bevel and Emboss"

i.e., Layer--> Layer Style -->Bevel and Emboss-->Style(set to Outer Bevel)

This topic has been closed for replies.

1 reply

Inspiring
May 8, 2009

Either create a named preset style that does what you want or use Scripting Listener code. There is no JS DOM for constructing styles.

-X

May 8, 2009

Thanks, what is this Scripting Listener Code

MarkWalsh
Inspiring
May 8, 2009

There is a plug-in called "ScriptingListener.plugin" (It should be found in the "Scripting Guide/Utilities" directory of your Photoshop application folder) If you place this in your Plug-Ins folder, Photoshop will write 'ScriptListener' Javascript code for every action you do in Photoshop (a text file with this code will appear on your desktop). This is a way to script parts of the application that are not otherwise exposed with Javascript commands.

Note - it's not exactly the Javascript that you would normally write, it can take a little getting used to to figure out what the steps it writes mean, but you can often determine what each variable it uses is for. You usually wouldn't use this for programming things that can be done with the Javascript commands available, only when there is no command to perform the task you need.

You'll probably want to remove the plug-in for normal use, and only reinstall it to record the steps that you need. Since it continuously writes to the text file for everything you do in Photoshop, finding the steps you want can be difficult if you have been 'recording' for a while. Plus, many have claimed that it slows Photoshop down as it is writing the text for each action you do. Personally, I only install mine when I need it, mostly for the first reason.