Remove layer styles/effects that are turned off

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: Tom, Kukurykus

kmjmu23

Remove layer styles/effects that are turned off

Post by kmjmu23 »

I found this post which has functions to check to see if a layer has effects and check and see if they are turned off:
bb/viewtopic.php?f=9&t=3103&p=13795&hil ... les#p13795

However, I'm not sure how to write a script that will let me REMOVE those layers that have effects that are turned off. Sometimes I have a lot of layers that have effects that have been turned off and I'd like to be able to remove all of them at once. Thanks in advance for any help you can give.