This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
values = []; | |
item=thisComp.layer("data 01").text.sourceText.toString(); | |
for(i=0;i<=thisComp.layer("state-gradient.csv")("Data")("Number of Rows")-1;i++) { | |
values.push(thisComp.layer("state-gradient.csv")("Data")("Outline")("Data")("Data " + i).value); | |
} | |
values.filter(function(value){ | |
return value === item; | |
}).length |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rows =thisComp.layer("Data-Sample.csv")("Data")("Number of Rows"); | |
total = 0; | |
for(i=0;i<rows;i++) { | |
if(thisComp.layer("Data-Sample.csv")("Data")("Outline")("Number Data")("Number Data " + i)) | |
{ | |
total+= thisComp.layer("Data-Sample.csv")("Data")("Outline")("Number Data")("Number Data " + i); | |
} | |
} total; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
values = []; | |
for(i=0;i<=thisComp.layer("Data-Sample.csv")("Data")("Number of Rows")-1;i++) { | |
values.push(thisComp.layer("Data-Sample.csv")("Data")("Outline")("Text Data")("Text Data " + i).value); | |
} values.join("\n"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
values = []; | |
for(i=0;i<=thisComp.layer("Data-Sample.csv")("Data")("Number of Rows")-1;i++) { | |
values.push(thisComp.layer("Data-Sample.csv")("Data")("Outline")("Text Data")("Text Data " + i).value); | |
} values.join(" "); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
row = parseInt(thisComp.layer("Data-Sample.csv")("Data")("Number of Rows")-1); | |
thisComp.layer("Data-Sample.csv")("Data")("Outline")("Long Text")("Long Text " + row) | |
txt = thisComp.layer("Data-Sample.csv")("Data")("Outline")("Long Text")("Long Text " + row); | |
n = effect("Line Break")("Slider"); | |
outStr = ""; | |
newLine = ""; | |
splt = txt.split(" "); | |
for (i = 0; i < splt.length; i++){ | |
if ((newLine + " " + splt[i]).length > n){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
values = []; | |
for(i=0;i<=thisComp.layer("Data-Sample.csv")("Data")("Number of Rows")+2;i++) { | |
values.push(thisComp.layer("Data-Sample.csv")("Data")("Outline")("Number Data")("Number Data " + i).value); | |
} v=values.join(","); | |
string=v; | |
array=string.split(","); | |
l=array.length; | |
sec=Math.floor(time/effect("Slider Control")("Slider")); | |
if(sec<l){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
values = []; | |
for(i=0;i<=thisComp.layer("Data-Sample.csv")("Data")("Number of Rows")+1;i++) { | |
values.push(thisComp.layer("Data-Sample.csv")("Data")("Outline")("Number Data")("Number Data " + i).value); | |
} | |
Math.max.apply(null, values) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
values = []; | |
for(i=0;i<=thisComp.layer("Data-Sample.csv")("Data")("Number of Rows")-1;i++) { | |
values.push(thisComp.layer("Data-Sample.csv")("Data")("Outline")("Number Data")("Number Data " + i).value); | |
} | |
Math.min.apply(null, values) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
n=Math.round(thisComp.layer("Data-Sample.csv")("Data")("Number of Rows")); | |
values = [];for(i=n-1;i<=n-1;i++) | |
{ values.push(thisComp.layer("Data-Sample.csv")("Data")("Outline")("Text Data")("Text Data " + i).value); } | |
values; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rows =thisComp.layer("Data-Sample.csv")("Data")("Number of Rows")+1; | |
last_val= 0; | |
for(i=0;i<rows;i++) { if(thisComp.layer("Data-Sample.csv")("Data")("Outline")("Number Data")("Number Data " + i)) | |
{ | |
Math.max(last_val= thisComp.layer("Data-Sample.csv")("Data")("Outline")("Number Data")("Number Data " + i)); } } last_val; |
OlderNewer