recursively set composition lengths
Posted: August 2nd, 2010, 2:15 pm
I thought I saw a script that did this a few years back on aescripts, but I can't seem to find it.
Say you have a layer, nested deep within a structure of pre-comps.
I want to select that layer, then hit a script to adjust the length of every parent comp to the length of that layer.
My problem is, I'm having trouble finding the code to select "parent" layers. While parent is quite common in javascript, that term seems to be reserved for layer parenting in AE.
Any tips?
Say you have a layer, nested deep within a structure of pre-comps.
I want to select that layer, then hit a script to adjust the length of every parent comp to the length of that layer.
My problem is, I'm having trouble finding the code to select "parent" layers. While parent is quite common in javascript, that term seems to be reserved for layer parenting in AE.
Any tips?