Skip to main content
_scott__
Legend
November 28, 2011
Open for Voting

Photoshop: Remove unused layer styles

  • November 28, 2011
  • 26 replies
  • 3685 views
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!

26 replies

Participant
July 7, 2023

Can't believe this is a post from 2011 and this feature still isn't available? Upvoting this request 😆

Roei Tzoref
Legend
October 23, 2017
we need remove unused layer styles please. it's a basic request. 
Inspiring
May 22, 2017
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.
Inspiring
May 22, 2017
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.
Inspiring
May 22, 2017
Thanks so much. Can't wait to get these working. 
Inspiring
May 21, 2017
Update here: http://bereza.cz/ps/
Inspiring
May 21, 2017
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/
PECourtejoie
Community Expert
Community Expert
February 16, 2017
Paul Riggott
Inspiring
October 7, 2016
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?
Inspiring
October 6, 2016
Any update to this script? I am getting the same error as the user above. CC 2015.5