-
Set Comp Start Time to Layer Start Time
For the life of me I cannot get my script to read/assign start times to an item – keeps returning “Undefined”. I’d like to read the start time from video item, and then set a comp’s start time to that same video item’s start time.
I’d like to do something like this (keep in mind it’s pseudocode):
Assuming first item in project is a video item and second item in project is a comp item.
var myComp = app.project.item(1);
var myVideo = app.project.item(2);
var timeToSet = myVideo.startTime;
myComp.startTime.setValue(timeToSet);Anyone out there have any clue on how to make this happen, or any thoughts that can push me forward? Thanks!