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

How can I copy current the timecode more effectively

Community Beginner ,
Feb 09, 2021 Feb 09, 2021

I have to go through a cut and look for VFX shots, then I mark them and I copy the Time code in point of each cut and paste it into a filemaker database (describing the shot, teh work to be done, duration etc. )

 

I manually click into the TC field, I copy, I change Application and I paste...

now filemaker is rather good with Apple script, so I can script the whole FM side, but is there a way to automatically get the TC from the current playhead position..  

Is Premiere scriptable somehow, could I at least make a keyboard shortcut for this ?

 

thx for any insight

J

TOPICS
How to , SDK , User interface or workspaces
2.5K
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

Adobe Employee , Feb 11, 2021 Feb 11, 2021

PPro has a broad ExtendScript API, most commonly accessed from within CEP panels. The CTI (Current Time Indicator) position is available via that API. 

var currentTime = app.project.activeSequence.getPlayerPosition();


You can get the time in seconds, 'ticks' (254016000000 per second), or text, formatted using the current display settings.

var asString = currentTime.getFormatted();
var inSeconds = currentTime.seconds;

 

Translate
Community Beginner ,
Feb 09, 2021 Feb 09, 2021

I forgot: obviously I looked into the Apple Script Editor and the Adobe Premiere vocabulary seems to be only 2 commands...  

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
Guide ,
Feb 09, 2021 Feb 09, 2021

Could you post a screen shot or short video of what you are doing?

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
Community Beginner ,
Feb 09, 2021 Feb 09, 2021

Its quite easy, I click into the TC field, hit Copy and then change over to Filemaker and paste the TC into a field in my database. 

 

But I do this 100-200 times for eeach new cut version that comes out and for each Episode...  🙂

every time grab the mouse click the field, let go of the mouse and hit command-C

then change over to the otehr app etc...   if I had a way to do the copying with a script I could hit one key and it all happen automatically...

 

lazy me, I know...   🙂

 

Screenshot_2021-02-10_at_03_34_27.jpg

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
Guide ,
Feb 10, 2021 Feb 10, 2021

I was hoping to see what the Apple Script was doing. I imagine you can make a feature request.

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
Community Beginner ,
Feb 10, 2021 Feb 10, 2021

Well so far there is no Apple script...  as far as I can see the "dictionary" I can see from the Apple Script Editor is rather limited and has no function that makes sense to my issue.

From within FIlemaker I can trigger regular Apple scripts. so if Adobe would have had Apple script support I could set the playhead at the right point and trigger my FIlemaker script doing the rest...  alas no such luck.

Screenshot 2021-02-10 at 19.24.07.png

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
Adobe Employee ,
Feb 11, 2021 Feb 11, 2021

PPro has a broad ExtendScript API, most commonly accessed from within CEP panels. The CTI (Current Time Indicator) position is available via that API. 

var currentTime = app.project.activeSequence.getPlayerPosition();


You can get the time in seconds, 'ticks' (254016000000 per second), or text, formatted using the current display settings.

var asString = currentTime.getFormatted();
var inSeconds = currentTime.seconds;

 

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
Community Beginner ,
Feb 11, 2021 Feb 11, 2021
LATEST

Uuuuh wow that sounds very interesting.  I have never dabbled in MS Visual Studio, but I'll check it out. Many thanks for pointing this out !!

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