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

Using variables in MOGRTs for PPro extendscipt?

Participant ,
Jul 17, 2023 Jul 17, 2023

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
248
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 , Jul 17, 2023 Jul 17, 2023

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

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

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

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