FORUMS: list search recent posts

Using an expression to rename a comp

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Thomas Hannen
Using an expression to rename a comp
on Dec 9, 2012 at 10:38:26 pm

Hi,

I'd like to be able to rename the current comp using an expression to do so. I have a large number of lower-thirds to create, and a text file containing them all.

Each lower-third needs a name and a job title in the comp. Then I'd like to be able to send all the comps to the render queue, and for each video file created to have the name of the person in the aston - i.e. "John Smith.mov" etc..

Is this doable using expressions, or would I have to learn scripting to change the file output name somehow?

I'm currently using this to find a line in the text file, and change the Source Text: (see code below)


Many thanks for any suggestions - I've googled around but can't find anything that fits the bill..

myPath = "text.txt";
$.evalFile (myPath);
txt[0];


Return to posts index

Dan Ebberts
Re: Using an expression to rename a comp
on Dec 9, 2012 at 10:46:34 pm

An expression can't change anything except the value of the property that hosts it. So no, you can't do what you want to do with expressions. It's a perfect application for scripting though.

Dan



Return to posts index

Bryan Woods
Re: Using an expression to rename a comp
on Dec 10, 2012 at 4:48:40 am

Check this tutorial out and see if this helps you some:



Return to posts index

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