Skip to main content
ariel_n
Known Participant
June 8, 2023
Open for Voting

ExtendScript convert from / to - point / paragraph text.

  • June 8, 2023
  • 1 reply
  • 188 views

Hi there!.

We do a lot of text manipulation via scripting and we would love to be able to convert from / to point and paragraph texts.
The feature exists in AE, but it's not available in ExtendScript.

 

Thanks!.

1 reply

ariel_n
ariel_nAuthor
Known Participant
August 13, 2026

I want to bring this up again.
A lot of good things happen to TextDocument APIs in recent versions, yet this is still missing.

it is very easy on the UI to convert from ↔ to point / paragraph text, and this is not a feature that can be emulated via ExtendScript without massive amount of non-trivial hacking.

We specially have a lot of issues getting text bounding boxes for point text.
In paragraph text is as simply as doing aeLayer.sourceText.value.boxTextPos
But for point text there is no equivalent other than the layer bounds, which is not the ink/typographic box but the text’s pixel bounds and also includes animators and possibly other things as well.