This-n-that – a selection tool

I’m doing a couple of month’s intensive After Effects work at the moment and I’m making tools to help the process. It’s a bit like making jigs for woodwork – a little time spent on a jig makes the whole process much easier later on.

So here’s a little jig that helps with the sometimes tedious task of selecting layers. I often work with comps that have hundreds or even thousands of layers (I wish AE could do instancing like 3D apps do) and even just scrolling to the bottom of the timeline window can take ages, so the job of selecting say, every third layer can fill up an afternoon.

2016-10-11-13_39_11-adobe-after-effects-cc-2015-c__users_sdixon_creative-cloud-files_work_children

This script lets you select / deselect layers with the option to skip any number of layers, starting from an optional layer.

You can select layers at random.

You can also use the logic to create more complex patterns:

  • set: override the current selection,
  • and: select/deselect only from selected layers,
  • or: add to any selected layers
  • xor: invert – select any non selected layers and deselect any selected ones

Download This-n-That.jsx here

Install as you would any other After Effects script.

On a PC move to the After Effects folder in the ScriptUI Panels subfolder. That’s usually  C:\Program Files\Adobe AfterEffects <version>\Support files\scripts\ScriptUI Panels\

On a Mac it’s in the After Effects Folder in the subfolder /Applications/Adobe AfterEffects <version>/scripts/ScriptUI Panels/.

Leave a Reply

Your email address will not be published. Required fields are marked *