ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Get source text from file name

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Motti Hen
Get source text from file name
on Dec 2, 2013 at 9:23:51 am

Hi you all,
has written in the subject of this post, I want to ask if there's any expression in after effetcs that gets the current file name and puts it in the source text of a text layer, without the file extension name.
thanks.


Return to posts index

Dan Ebberts
Re: Get source text from file name
on Dec 2, 2013 at 3:13:26 pm

Do you mean the name of the project file? If so, then no, I can't think of a way to do that.

If you mean the name of the source file for the current layer, this could easily be modified to leave out the file extension:

http://www.motionscript.com/design-guide/source-name.html


Dan



Return to posts index

Evan Jenkins
Re: Get source text from file name
on May 6, 2020 at 6:39:39 pm

Dan you are a creative genius, your code is amazing. I will be using this technique to get the file name and check for certain words that will trigger automation. I've learned a lot javascript in AE from your posts thanks for your good work.

Evan Jenkins
Aspen Films Inc.
aspenfilms.ca


Return to posts index

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