-
Reading internal source text.
Hello,
I tried using the $.evalFile to locate source text external data and After Effects keep telling me ” the file or the folder does not exist”. So I tried to import the data manually by copying the data and removing read the path part of the expression. The modified expression is the second one however After Effects only read the individual characters of the comp name. Thus the modified expression resulted “C” instead of “Text 0” for (thisComp.name)[0] , “o” instead of “Text1” for(thisComp.name)[1] and “m” instead of “Text 2” for(thisComp.name)[2] .
Please, could someone kindly help me out?Thanks in advance
ObedmyPath = "~C:/Users/Greatman/Documents/data/source.txt";
$.evalFile(myPath);
eval(thisComp.name)[0];var comp1 = ["Text 0", "Text 1", "Text 2"];
(thisComp.name)[0];