Select multiple layers from timeline

What type of scripts do you need?

Moderator: byronnash

Post Reply
Jeff P
Posts: 6
Joined: January 21st, 2010, 11:51 pm

Looking for a script which selects all the layers with in points to the right of the current time line??

Any help would be greatly appreciated!

Thanks

Jeff
Dan Ebberts
Posts: 320
Joined: June 26th, 2004, 10:01 am
Location: Folsom, CA
Contact:

Something like this:

Code: Select all

var myComp = app.project.activeItem;
for (var i = 1; i <= myComp.numLayers; i++){
  myComp.layer(i).selected = myComp.layer(i).inPoint > myComp.time;
}

Dan
Jeff P
Posts: 6
Joined: January 21st, 2010, 11:51 pm

Thank you Dan,

Works great!

I appreciate your taking the time to write this out

Thanks again for the script!!

Jeff
Post Reply