Copy link to clipboard
Copied
Hey guys,
I've found the scant documentation for scripting in Premiere that exists (com.adobe.premiere Summary , Premiere API — Bryson Michael , Unofficial Premiere Pro CC API ), but I'm having trouble finding any way to get the current time of the playhead, or current time indicator (CTI). I can set its position with setPlayerPosition($ticks) but can't GET it. I realize scripting is extremely limited in Premiere, but I just want to make sure I'm not missing something - otherwise, the tool I'm trying to make for my studio won't work. Any help?
Thanks.
Ah, I did find a Premiere Extendscript forum, my bad. Found the answer to my question here: CTI.Timecode
For those who stumble onto this thread looking for the answer, you can get the time in ticks with
app.enableQE();
qe.project.getActiveSequence().CTI.ticks
Or in seconds with
app.enableQE();
qe.project.getActiveSequence().CTI.ticks / 254016000000
Copy link to clipboard
Copied
I don't see many discussions here about ExtendScript. I fear your question may go unanswered if asked only here. Have you looked for an ExtendScript forum?
Copy link to clipboard
Copied
Ah, I did find a Premiere Extendscript forum, my bad. Found the answer to my question here: CTI.Timecode
For those who stumble onto this thread looking for the answer, you can get the time in ticks with
app.enableQE();
qe.project.getActiveSequence().CTI.ticks
Or in seconds with
app.enableQE();
qe.project.getActiveSequence().CTI.ticks / 254016000000
Find more inspiration, events, and resources on the new Adobe Community
Explore Now