ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Re: Rename text layer name based on the text content.

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


Andrei Popa
Re: Rename text layer name based on the text content.
on Feb 11, 2020 at 4:13:08 pm

Script:

crtComp = app.project.activeItem;

for (var i=1;i<=crtComp.numLayers;i++){
crtComp.layer(i).name = crtComp.layer(i).text.sourceText.value;
}

Andrei
My Envato portfolio.


Posts IndexRead Thread 


Current Message Thread:





© 2020 CreativeCOW.net All Rights Reserved
[TOP]