Page 1 of 1

Any Way to Access Project Path in Expression?

Posted: June 13th, 2017, 1:14 pm
by ahgsql
Hi , i m trying to get text variables from .txt files using

myPath =  "~/Desktop/test.txt";
$.evalFile (myPath);

But i want it to get txt file from folder that currently opened project file in,

../test.txt   or /test.txt or any others not worked.. Can anyone help me with this?

Re: Any Way to Access Project Path in Expression?

Posted: June 14th, 2017, 2:55 pm
by cuppycup
I don't think you'll be able to access this information in an Expression. You'll need to use a script.

Re: Any Way to Access Project Path in Expression?

Posted: July 9th, 2017, 3:57 am
by ahgsql
my goal is render composition without opening Ae. I ll render with aerender.exe