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

How to edit the Sourcetext of an Text layer

Community Beginner ,
Apr 14, 2022 Apr 14, 2022

Copy link to clipboard

Copied

This code gets the current value of the "Quelltext" propertie:

$.write(app.project.activeSequence.videoTracks[1].clips[0].components[3].properties[0].getValue());

 If the current text is "Reddit Place" it only returns:

Đ

 Is there any way how I can edit the text of an textlayer? Or is this impossible?

thx

TOPICS
Effects and Titles , Error or problem , How to , SDK

Views

437

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 , Apr 14, 2022 Apr 14, 2022

Ahh. The API was intended for use with AE-created .mogrts.

Votes

Translate

Translate
Community Expert ,
Apr 14, 2022 Apr 14, 2022

Copy link to clipboard

Copied

https://community.adobe.com/t5/premiere-pro-discussions/reading-text-layer-in-clip/m-p/9285533

dunno if this is done in the latest updates, refer back to Adobe Staff this is API related

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
Community Beginner ,
Apr 14, 2022 Apr 14, 2022

Copy link to clipboard

Copied

I´ll ask them.

thx

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
Adobe Employee ,
Apr 14, 2022 Apr 14, 2022

Copy link to clipboard

Copied

That suggests that you're attempting to access the source text of a .mogrt created in PPro. The API was created to support modifying .mogrts created in AE. 

Confirming: If you use the PProPanel sample code to import the .mogrt from the /PProPanel/payloads directory, it works correctly, yes? 

https://github.com/Adobe-CEP/Samples/blob/1c08d2c74b7ae7c1cd418fab4578c080a3241a1b/PProPanel/jsx/PPR...

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
Community Beginner ,
Apr 14, 2022 Apr 14, 2022

Copy link to clipboard

Copied

As far as I know is an buildin Text Layer is no mogrt made in PPro. So I don´t have an .mogrt file to test it.

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
Adobe Employee ,
Apr 14, 2022 Apr 14, 2022

Copy link to clipboard

Copied

Ahh. The API was intended for use with AE-created .mogrts.

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
Community Beginner ,
Apr 21, 2022 Apr 21, 2022

Copy link to clipboard

Copied

So if I understand correctly, is there no way at all to edit the text of a PPro text layer with the API?

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
Adobe Employee ,
Apr 21, 2022 Apr 21, 2022

Copy link to clipboard

Copied

LATEST

As long as the source of that text was an AE .mogrt, it is very much possible to edit source text, and many shipping panels do so.

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