Question
How to read Layer Effects?
I'd like to be able to use PhotoShop as an authoring tool for the artists at our game development company. The scripting has been a godsend for allowing them to specify layout and positioning of various art assets.
I'm stuck on getting at the drop shadow effect on a layer. I'd like to be able to read and output whether a drop shadow is being used, and if it is being used, the angle and distance of the drop shadow.
I've come across lots of samples that use "executeAction" to turn effects on and off, but I have not come across anything that allows me to access the values in a pre-existing effect.
Any leads would be greatly appreciated.
I'm stuck on getting at the drop shadow effect on a layer. I'd like to be able to read and output whether a drop shadow is being used, and if it is being used, the angle and distance of the drop shadow.
I've come across lots of samples that use "executeAction" to turn effects on and off, but I have not come across anything that allows me to access the values in a pre-existing effect.
Any leads would be greatly appreciated.
