Skip to main content
Adobe Photoshop Family

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

5 years 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

4 years ago

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

954 Messages

 • 

15.3K Points

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

361 Messages

 • 

6.9K Points

4 years 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?

954 Messages

 • 

15.3K Points

4 years 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 years ago

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

954 Messages

 • 

15.3K Points

I noticed that I had some strangeness in the script. Because since CC2015 layers can have disabled effects even if you can't see them in layers panel. Next version could be a little faster and show the statistics correctly. Anyway, the current version should maintain the appearance of the document as it is.

954 Messages

 • 

15.3K Points

4 years 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.

54 Messages

 • 

1.2K Points

3 years ago

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