Get Drop Shadow and Pattern Overlay properties

Anyone, especially newbies, asking for help with Photoshop Scripting and Photoshop Automation - as opposed to those contributing to discussion about an aspect of Photoshop Scripting

Moderators:xbytor, DavideBarranca, Paul MR

Joined:Wed Feb 22, 2017 5:37 pm
Get Drop Shadow and Pattern Overlay properties

Post by AnilTejwani » Thu Feb 21, 2019 12:29 pm


Is it possible to get (on the active layer app.activeDocument.activeLayer )
1. what are the effects applied (example has 3 effects -> drop shadow, stroke and pattern overlay)
2. if yes to 1 above, possible to get properties of each ( lets say only drop shadow to start with, whats the opacity, blending mode, angle, color etc. )

I need to write a script which would 'get' the properties, update them and 'put' it back.
example one, get the shadow property, change the angle and update it or
get the pattern used, replace the pattern keeping everything else as is and update it back.

Thanks in advance.
ps-get-drop-shadow-pattern-properties.png (94.45KiB)Viewed 1892 times

Post Reply