Here’s a very quick script to do it:
10927_keenselectunparentedlayers.jsx.zip
Unzip this, put the .jsx file in your After Effects script folder [link], then invoke it from the File > Scripts > keen-SelectUnparentedLayers.jsx menu.
The code is simple and does not do any error-checking. You need to make sure that you have a comp active (timeline panel is open), otherwise Ae will throw an ungraceful error.
Here’s the code, in case you’re curious:
// selects un-parented layers in the active comp.
for (i=1; i<=app.project.activeItem.numLayers; i++) {
if (app.project.activeItem.layers[i].parent == null) app.project.activeItem.layers[i].selected = true else app.project.activeItem.layers[i].selected = false;
}
Walter Soyka
Designer & Mad Scientist at Keen Live [link]
Motion Graphics, Widescreen Events, Presentation Design, and Consulting
@keenlive | RenderBreak [blog] | Profile [LinkedIn]