ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Re: Source text as thisComp.name but also have it lowercase

COW Forums : Adobe After Effects Expressions

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


Johnny Opamo
Re: Source text as thisComp.name but also have it lowercase
on Jan 21, 2020 at 2:13:28 am

Hey Dan,

Just to follow on from this. Everything's working well but there are artist names for example that are too long. I'm able to scale them down to fit the comp but what I'm really looking for now is a line break so I can keep the source text linked with the comp name but also be able to have the artist name on two separate lines.

Is there any way to do this?

As a reminder

artist text expression is:

compName = thisComp.name
compName = thisComp.name.toLowerCase();
compName.substring(0, compName.indexOf('//'))

title text expression is:

compName = thisComp.name
compName.substring(compName.indexOf('//')+2)
compName = thisComp.name.toLowerCase();
compName.substring(compName.indexOf('//')+2,compName.indexOf('--') )

Thanks in advance


Posts IndexRead Thread 


Current Message Thread:





© 2020 CreativeCOW.net All Rights Reserved
[TOP]