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

Using variables in MOGRTs for PPro extendscipt?

Explorer ,
Jul 17, 2023 Jul 17, 2023

Copy link to clipboard

Copied

I am using mogrt created in ae for some captions animation in ppro, new line of text automatically creates customised text box wrapping the text:

Screenshot 2023-07-17 at 13.28.32.png

My goal is automatically create newline of the text whenever the width of the text line hits some width point (I will import texts from csv file)
to track the width of the text line I have created some additional text layers in MOGRT with expressions 'comp(''texts).layer('textLine1').sourceRectAtTime()' and placed those layers offscreen, so user cannot see it, the problem that the text changes as it should, but api: the seq.videoTracks[3].clips[0].components[2].properties[16].getValue() returns json with empty 'textEditValue' - so my workaround for storing variables didn't work
I wonder is there any way to make somehow get the width of the text line or get the actuall text? Maybe QE?

TOPICS
How to , SDK

Views

45

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

correct answers 1 Correct answer

Adobe Employee , Jul 17, 2023 Jul 17, 2023

No, PPro offers no API control over the dimensions of text layers. 

Votes

Translate

Translate
Adobe Employee ,
Jul 17, 2023 Jul 17, 2023

Copy link to clipboard

Copied

LATEST

No, PPro offers no API control over the dimensions of text layers. 

Votes

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