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

Cannot get label color from script

New Here ,
Sep 04, 2024 Sep 04, 2024

Copy link to clipboard

Copied

I want to use Extend script to get the color of the labels of the clips in a Premiere pro sequence.
However, I keep getting “undefined”.
The clips in the sequence are labeled with various colors as shown in the image.
I have looked in various explanatory articles, but I could not find the answer.
If you could tell me how to do this, I would appreciate it.

 

What the Console Displays↓

3 undefined 4

var project = app.project ; var sequence = project.activeSequence ; 
$ .writeln ( sequence.videoTracks.numTracks ) ; 
$ .writeln ( sequence.videoTracks [ 0 ] .clips [ 0 ] .labels ) ; $ .writeln ( sequence.audioTracks.numTracks ) ;​​​​​
​​​​​​​​​

Untitled-1.png

 

TOPICS
Error or problem , FAQ , How to , User interface or workspaces

Views

30

Translate

Translate

Report

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
no replies

Have something to add?

Join the conversation