scott_w1's profile

42 Messages

 • 

756 Points

Mon, Nov 28, 2011 9:49 PM

14

Photoshop: Remove unused layer styles

Feature Request....

Option to remove unused Layer Styles.
Control-click/Right-click the fx icon for a Layer and get...

| Copy Layer Style |
| Paste Layer Style |
| Clear Unused Styles | (NEW)
| Clear Layer Styles |



I spend so much time manually click-dragging empty layer style options to the trash.

Thanks!

Responses

4 Messages

 • 

90 Points

6 y ago

I receive this error when try to run the script.

Can someone help?

I understand nothing form scripts but this one was very useful for me. Unfortunately it stopped working with the latest version of Photoshop.

2 Messages

 • 

72 Points

5 y ago

Any update to this script? I am getting the same error as the user above. CC 2015.5

361 Messages

 • 

6.9K Points

5 y ago

Sorry I only have CS6 and will not be changing to CC so I will not be updating the script for CC.
You might be able to find someone with CC to debug it and get it working again?

959 Messages

 • 

15.3K Points

4 y ago

Good news everyone. I created new script which does same job, but it's 10× faster and works from CS6 to CC2017. It also can show progressbar and some statistics what it done.

It is optimized for thousands of layers.

Download here: http://bereza.cz/ps/

2 Messages

 • 

72 Points

4 y ago

Thanks so much. Can't wait to get these working. 

959 Messages

 • 

15.3K Points

4 y ago

Jeffrey Tranberry: There is bug in Photoshop if you want clear whole layer styles in text layer with scripting. The command "Clear Styles" is not sometimes available and sometimes is. It's like random generator.

Edit: I am using app.doProgress method and clearFx doesn't works if progressbar is shown. And dialog shows after some time period which leads to seemingly  random behavior. Total wasted hours with this bug: ~5 hours

This is second bug I found while I am trying to make this script. First is that you can't remove one certain effect if there is multiple effects of same kind. It always removes first effect of same kind... so I need to set whole style descriptor.

55 Messages

 • 

1.2K Points

4 y ago

we need remove unused layer styles please. it's a basic request.