Adding Layer Style
Posted: July 28th, 2014, 9:27 am
What is the proper syntax to add a drop shadow layer style to a layer? The below isn't working for me.
Also it looks like you can apply a preset file but we can't save out a preset file? I'd like to be able to save out a layer style preset via scripting.
Code: Select all
selected.layer(1).LayerStyles.addProperty("DropShadow")