Load External .TXT in AE Text Layer Expression

//CALL EXTERNAL .TXT FILE TO LOAD IN AE TEXT BOX
try{
myPath = "~/Desktop/source.txt";
$.evalFile(myPath);
eval(thisComp.name)[0];
}catch(err){
"MISSING";
} 

//SCRIPT TO PLACE IN .TXT FILE
var comp1 = ["Text 0", "Text 1", "Text 2"];
var comp2 = ["Text 0", "Text 1", "Text 2"];
var comp3 = ["Text 0", "Text 1", "Text 2"];
var comp4 = ["Text 0", "Text 1", "Text 2"];
0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published.