ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Re: Text box anchor point from baseline

COW Forums : Adobe After Effects

FAQ   •   VIEW ALL   •   ADD A NEW POST   •   PRINT
Respond to this post   •   Return to posts index   •   Read entire thread


Marko Suto
Re: Text box anchor point from baseline
on Nov 21, 2018 at 1:50:07 pm

Thanks for the reply and link Walter!

I'm afraid I can't open the project, it is done in a newer version of AE.

I have tried similar thing to your suggestion, used the iExpressions script for bottom align which does the job well - adds lines breaks on empty lines.
BUT it works only on point text, not box text. I need text box to limit the width of text.

I tried to break the lines using VBA code in Excel (that's where my source text is from - using CompsFromSpreadsheets script) with point text in AE, but my VBA script had problems with the width of the text (when I limit the max number of characters for one line, there's a big difference in line full of "m" and "i" as far as width is concerned).

This "sourceText.value.baselineLocs"

https://helpx.adobe.com/uk/after-effects/using/creating-editing-text-layers...

under "Scripts and expressions for working with text" section,
gave me hope I could use this array to get the Y position of the last line and use it as anchor point. But I don't know how to define array and how to read the "N-1" value from the array.


Posts IndexRead Thread 


Current Message Thread:





© 2019 CreativeCOW.net All Rights Reserved
[TOP]