Effects not sparking joy?

This script removes disabled effects from layers in your comp. While disabled effects don’t do anything, they mess up the workspace, create confusion, increase the size of the project file and can cause problems if you’re sharing the project to machines that don’t have the effects.

So here’s a quick script I wrote when I had a bazillion layers with disabled effects that I wanted to prune. For once it was actually quicker than doing it manually. I must be getting better at js (oh, the shame, the shame).

A quick note on usage. If you have layers selected it will only clean those layers, if you have no layers selected it will clean the whole comp. I figure that’s a better approach than giving you an error and telling you to select some layers. It’s the metaphor that I’m going to adopt for all my scripts from now on: none selected == all selected.


After Effects will take care of the installation for you. For scripts without a UI, go to the File menu in AE and choose Scripts>Install Script. Point it at the unzipped .jsx file that you just downloaded and let it work its magic, then restart AE.

Running the script

Scripts without a GUI can be run from the File>Scripts> menu. Once the script is installed it should appear in this menu, or you can run it without installing it using File>Scripts>Run Script File. If you use them a lot you can assign a keyboard shortcut to them.


One response to “Effects not sparking joy?”

  1. […] Effects not sparking joy? […]

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.