-
Using an expression to rename a comp
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];