How to edit the Sourcetext of an Text layer

New Here ,
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

135

Likes

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

Participant , Apr 14, 2022 Apr 14, 2022
Ahh. The API was intended for use with AE-created .mogrts.

Likes

Translate

Translate
Adobe Community Professional ,
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

Likes

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

Copy link to clipboard

Copied

I´ll ask them.

thx

Likes

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
Participant ,
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...

Likes

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
New Here ,
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.

Likes

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

Copy link to clipboard

Copied

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

Likes

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
New Here ,
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?

Likes

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.

Likes

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