ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Source text input from other comp but take notice of superscript

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Bas v Breugel
Source text input from other comp but take notice of superscript
on Sep 28, 2017 at 8:19:40 am

I am making an animation which has to be localized afterwards in many languages. So I have a seperate comp in which I can easily and quickly translate all texts which link to the text layers in all other comps.

The text layers in those other comps have the following expression :
comp("CHANGE_TEXT").layer("text1").text.sourceText

In the CHANGE_TEXT comp I now have a text that contains superscript "Trespa PURANFC® FLUSH Siding"

But in the the expression doesnt take notice of that script. Futhermore that text is made in all capitals in bold. So it says "TRESPA PURANFC® FLUSH SIDING"

Can i add something to the expression so that it takes notice of the superscript?


Return to posts index

Dan Ebberts
Re: Source text input from other comp but take notice of superscript
on Sep 28, 2017 at 5:11:14 pm

Unfortunately, there's no way to access per-character formatting attributes with an expression.


Dan



Return to posts index

Bas v Breugel
Re: Source text input from other comp but take notice of superscript
on Sep 29, 2017 at 6:52:46 am

Thanks Dan, so this article : https://www.reddit.com/r/AfterEffects/comments/50kyok/regarding_recent_chan... is something different than what I was thinking about?


Return to posts index


Dan Ebberts
Re: Source text input from other comp but take notice of superscript
on Sep 29, 2017 at 1:20:05 pm

Yes.

Dan



Return to posts index

Dan Ebberts
Re: Source text input from other comp but take notice of superscript
on Sep 29, 2017 at 6:21:56 pm

Sorry, I was headed out the door. Scripting has access to those things, but not expressions (except for sourceRectAtTime(), which both scripting and expressions have now).

Dan



Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]