Copy link to clipboard
Copied
Hello,
Is there any way to set the start time of a sequence?
thanks,
Kelly
Sure; change the sequence's zeroPoint.
var startTimeOffset = activeSequence.zeroPoint;
Copy link to clipboard
Copied
Sure; change the sequence's zeroPoint.
var startTimeOffset = activeSequence.zeroPoint;
Copy link to clipboard
Copied
Hey Bruce, thanks for the reply.
Unfortunately, I'm still unsure how to apply this.
I don't see zeroPoint in the Data Browser.
Maybe more context is needed. Say I want to set the start time of the active sequence to 00;59;50;00
thanks so much for you help,
Kelly
Copy link to clipboard
Copied
var seq = app.project.activeSequence;
if (seq){
var newStartTime = seq.end - seq.timebase;
seq.setZeroPoint(newStartTime);
}
setZeroPoint takes a time in ticks; 254016000000 ticks per second.
Copy link to clipboard
Copied
Success. Thanks so much.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now