-
Linking to an external text file
My text file says:
var comp1 = [“Digital working“, “Reading | Up to working“];
var comp2= [“working“, “Reading | Up to £35000“];I have compositions called “comp 1” & “comp 2”
I have a text files called “0” and “1”I copied the path from the mac information tab.
Both text layers are showing as “not found”
What am I doing wrong? please help
myPath = "/Users/AJBMedia/Desktop/sample.txt";
try{
$.evalFile (myPath);
eval(thisComp.name)[0];
}catch (err){
"not found"
}