-
For through expression
I’ve still not managed to get the hang of these yet.
Can anyone help me please.
I have a csv file and 10 lines Max
I have two columns
footage(“ColumnOne data.csv”).dataValue([0,0]);
footage(“ColumnTwo data.csv”).dataValue([1,0]);These Two column vary based on how many are in each column
One time can beColumnOne = 3
ColumnTwo = 5Next time
ColumnOne = 7
ColumnTwo = 2What I want to do is a for through combined with a try expression.
for(i = index-1; i <= thisComp.numLayers; I++){
try{
//Start using ColumnOne and continue through that column until you reach nothing.
} catch(e) {
//Start using ColumnTwo and continue through that column until you reach nothing and stop.
}
}I’ve done similar things, but I’m struggling to get this to work. So any ideas would be appreciated.