Thanks Jason, I did try that earlier but although it’s great for keeping layers and expressions in order it does not suit my needs. What I did was call an external .txt file with this inside:
var comp1 = [“text1”, “text2”];
var comp2 = [“text3”, “text4”];
var comp3 = [“text5”, “text6”];
and so on.
on each text layer there is this expression:
//For text1 this is on the source
try {
$.evalFile(comp(“Globals”).layer
(“fileToLoad”).text.sourceText);
eval(thisComp.name)[0];
}
catch(err){err.toString()};
//For text2 this is on the source
try {
$.evalFile(comp(“Globals”).layer
(“fileToLoad”).text.sourceText);
eval(thisComp.name)[1];
}
catch(err){err.toString()};
In the Globals comp there is the instructions to call up the array.
Windows Path:ile://c:\\\\Expressions\\
Data File: arrayList.txt
This way every time I duplicated the first comp i set up with the two text layers and the first comp, it would duplicate and auto populate the next comp with the new set of text.
Getting the excel spreadsheet to cooperate was a whole other issue which is why I was looking for my initial solve. BUt I reformatted the info fairly easily through the help of friends to get it to work within the syntax of the program.