-
[AE extend script] add project item to activeComp and set custom startTime
i have 3 “.wav” footages in project panel and i want to add the footages to active comp starting at time 1, 3, 5 (second)
here’s what i got now
var MyComp = app.project.activeItem;
for (var z = 1; z <= app.project.numItems; z++) {
if ((app.project.item(z) instanceof FootageItem) && app.project.item(z).name.indexOf(“.wav”) != -1) {
MyComp.layers.add(app.project.item(z)).startTime = ???
}
}
any idea?