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

New Here ,
Feb 05, 2021 Feb 05, 2021

Copy link to clipboard

Copied

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!!

TOPICS
Actions and scripting

Views

82

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Most Valuable Participant ,
Feb 05, 2021 Feb 05, 2021

Copy link to clipboard

Copied

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

Likes

translate

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines