Skip to main content
Participating Frequently
January 17, 2023
Answered

[Scripting] Convert Point text to paragraph text?

  • January 17, 2023
  • 2 replies
  • 1062 views

I am trying to convert point text to paragraph text and vice versa through scripting. There is already a discusion here from 2015 https://community.adobe.com/t5/after-effects-discussions/convert-point-text-to-paragraph-text/m-p/7399420#M139019 which states that these attributes are read only and the suggestion is to create a new layer and copy all properties from original layer here.

 

However in discusion here https://community.adobe.com/t5/after-effects-discussions/copy-keyframe-value-from-quot-levels-quot-effect-quot-histogram-quot-property-with-extendscript/m-p/12745506#M193467 for different topic, it is said that custom value properties cannot be copied. So this approach isnt bulletproof.

 

Is there a better approach i can take i am not thinking of? Or is my best solution to go through all the attributes and copy them hoping there wont be any custom value properties and if so, let the user know? Is there anything that would not be copied by this approach other than the custom value properties?

 

Thank you,

Martin

This topic has been closed for replies.
Correct answer Mathias Moehl

As far as I know there is no better solution, unfortunately. And the issue are not just custom value properties - text attributes like faux bold, all caps, superscript, etc cannot be copied via scripting either.

2 replies

Mathias Moehl
Community Expert
Mathias MoehlCommunity ExpertCorrect answer
Community Expert
January 18, 2023

As far as I know there is no better solution, unfortunately. And the issue are not just custom value properties - text attributes like faux bold, all caps, superscript, etc cannot be copied via scripting either.

Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects
vigi42Author
Participating Frequently
January 18, 2023

Thank you both for your answers, hopefully one day the technology will be here.

Mylenium
Legend
January 17, 2023

No change on that front, I'm afraid, and you can't even work your way around this with the various new text formatting options that have been introduced in recent versions.

 

Mylenium