-
Scripting changes from AE4 to CS6?
Hi guys
Sorry for the dopey question but I’m trying to set up an expression in CS6, using an example (or examples) I found on the net in some old tutee for AE4. But, when I paste the sample expression into my CS6 comp, it returns errors, the prime one being “Expected: ;” in Line 2.
Anyone with any thoughts? Thanks heaps in advance.
Cheers
Bettsyif ($.os.indexOf("Mac") != -1)
myPath = "/ae_texts/";
else
myPath = "file://c:ae_texts";
myPath += "text_1.txt";
$.evalFile (myPath);
eval(thisComp.name);sentences = type.split("$");
m = thisLayer.marker.nearestKey(time);n = m.index;
if (time < thisLayer.marker.nearestKey(time).time) {n = n-1}
subtitle = sentences[n];
subtitle