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


Dan Ebberts
Re: Source text as thisComp.name but also have it lowercase
on Jan 20, 2020 at 11:24:01 pm

>What can expression can I add to this so that I am able to have the text within the comp all lowercase regardless of the case of the comp

Like this maybe:

compName = thisComp.name.toLowerCase();


> is there anyway I can add text to the end of my comp's name without it appearing in the text?

You could maybe preface the info with a character that would never appear in the artist or title text, like "~":

~16:9

and then change the second expression to something like this:

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


Dan



Posts IndexRead Thread 


Current Message Thread:





© 2020 CreativeCOW.net All Rights Reserved
[TOP]