Open russellaugust opened 2 years ago
https://github.com/Adobe-CEP/Samples/blob/c857e94ca87d5d440946b0c668c778b497e72476/PProPanel/jsx/PPRO/Premiere.jsx#L768
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.
app.project.activeSequence.end
zeroPoint's ticks appear to be the start timecode in ticks.
https://github.com/Adobe-CEP/Samples/blob/c857e94ca87d5d440946b0c668c778b497e72476/PProPanel/jsx/PPRO/Premiere.jsx#L768
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.