ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Expression for file name

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>

Federico Kotek
Expression for file name
on Jul 20, 2011 at 3:23:14 pm

Hey guys,
simple question, hopefuly I get a quick answer.

I need an expression that copies the current file name and displays it as text.

The closer I could get was:
-Text layer
-Open the "source text" stopwatch and adding
thisComp.name


but its not what I need... is there any similar expression for file name instead of the comp name??


Return to posts index

Kevin Camp
Re: Expression for file name
on Jul 20, 2011 at 3:56:25 pm

when you say file name, do you want the name of the open after effects project, or the name of a file within the comp?

Kevin Camp
Senior Designer
KCPQ, KMYQ & KRCW


Return to posts index

Federico Kotek
Re: Expression for file name
on Jul 20, 2011 at 4:26:46 pm

I want the name of the open after effects project.
Im constantly doing incremental saves so I want the text layer to reflect those changes automatically with an expression.

Is it possible?
Just like I said before... something like
thisFile.name but that actually exists :P


Return to posts index



Kevin Camp
Re: Expression for file name
on Jul 20, 2011 at 4:33:40 pm

i don't think that expressions can access information like that... at least i don't know of any project object that could be used to get that with expressions, though you might try searching/posting in the expressions forum.

you can get that info with a script like this one:

http://aescripts.com/project-name-stamp-info-stamp/

you would need to run the script each time prior to rendering to get the updated project name.

Kevin Camp
Senior Designer
KCPQ, KMYQ & KRCW


Return to posts index

Kevin Camp
Re: Expression for file name
on Jul 20, 2011 at 4:43:42 pm

i'm not sure if this would help you, but one easy thing that you can do is have ae include the project name in the rendered file's name automatically.

you can set that up in the render queue by clicking the little triangle between 'output to' and the file name. there are several built in options and you can customize them to include a lot of other data if needed.

Kevin Camp
Senior Designer
KCPQ, KMYQ & KRCW


Return to posts index

Federico Kotek
Re: Expression for file name
on Jul 20, 2011 at 5:14:31 pm

thnx bro , gonna try this one out


Return to posts index

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