Page 1 of 1

Get Drop Shadow and Pattern Overlay properties

Posted: Thu Feb 21, 2019 12:29 pm
by AnilTejwani
Hi,

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.