Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Getting the current time of the playhead with Extendscript

Participant ,
Jul 25, 2017 Jul 25, 2017

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.

1.7K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Participant , Jul 26, 2017 Jul 26, 2017

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

Translate
LEGEND ,
Jul 26, 2017 Jul 26, 2017

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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jul 26, 2017 Jul 26, 2017
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines