Hi,
I am new to After Effects as in I have just seen it for the first time today!
What I'd like to know is, is it possible to write an expression to return either the current project name or file path?
I'm assuming no as I cannot find any reference to this in the language reference. How would I go about integrating a script with the project to return the project name?
I have tried something basic like:
Expression code:
var currpath = $.evalFile(filepath);
filepath is the path to my script file, the script is like the below:
GetPath()
function GetPath() {
return app.project.name;
}
With this I get an error similar to method name 'Global' not found - not at my work computer so can't remember the exact message.
Any help would be appreciated.
Thanks,
Mark