|
var sequenceDuration = app.project.activeSequence.end - app.project.activeSequence.zeroPoint; |
I know it's commented out, but this produces a negative number. If you want duration, app.project.activeSequence.end divided by 254016000000 seems to work without the zeroPoint.
zeroPoint's ticks appear to be the start timecode in ticks.
Samples/PProPanel/jsx/PPRO/Premiere.jsx
Line 768 in c857e94
I know it's commented out, but this produces a negative number. If you want duration,
app.project.activeSequence.enddivided by 254016000000 seems to work without the zeroPoint.zeroPoint's ticks appear to be the start timecode in ticks.