Skip to main content
Participant
February 5, 2021
Question

[Script] Check what layer styles are used, and modify their values.

  • February 5, 2021
  • 1 reply
  • 369 views

Hi!

How would I go about checking what layer styles are enabled in a layer, and modify it's values?

I'm a beginner regarding Photoshop scripting, but I have some experience with After Effects.

I'm looking for the equivalent of Property.enabled, Property.value(), Property.setValue() and Property.isModified but for Photoshop.

 

Thanks!!

This topic has been closed for replies.

1 reply

JJMack
Community Expert
Community Expert
February 5, 2021

I believe the only DOM method there is for layer style in Photoshop scripting may be applyStyle("style name")  that would apply a named layer style in the users style palette to a layer.  If you can modify an a layer existing style effect in a Script the script would need to use Action Manager scripting code.

JJMack