Forum Replies Created

  • Stefano Gradaschi

    October 11, 2023 at 12:07 pm in reply to: Rendering Time increases with every Frame

    worked like a charm for me, thank you!

  • Stefano Gradaschi

    June 15, 2020 at 4:31 pm in reply to: bypass expression

    Never-mind I’ve figure it out.
    Just reversed the link and that did the trick!
    😉

    if it\’s a cow it will moo

  • Thanks everyone for posting their suggestions. I kind of put together multiple expressions to do this trick. It works 99% of the times, there might be an odd combination of words that breaks it.I must say I am not an expert in coding so there might be dodgy bits here an there.Hope this will help anyone!;)Here is it how I did it:In the source text of the layer "text"a=comp("02.2_Subtitle Social").layer("text").text.sourceTexttxt = an = 61;outStr = "";newLine = ""splt = txt.split(" ")for (i = 0; i < splt.length; i++){ if ((newLine + " " + splt[i]).length > n){ if (outStr != "") outStr += "\r"; outStr += newLine; newLine = splt[i]; }else{ if (newLine != "") newLine += " "; newLine += splt[i]; }}if (newLine != ""){ if (outStr != "") outStr += "\r"; outStr += newLine;}outStr;if (time < 0){ s = value.split("\r"); txt = "" for (i = 0; i < s.length; i++){ if (time > -10*(i+1)){ txt = s[i]; break; } } txt;}else valuein the size of the shape rectangle "myline-1'myLine = 1;L = thisComp.layer("text");w = L.sourceRectAtTime(-10*(myLine-1)-5).widthx = L.sourceRectAtTime(-10*(myLine-2)-5).widthtemp = content("Rectangle 1").content("Rectangle Path 1").size[0];[w+40,80]in the size of the shape rectangle "myline-2'L = thisComp.layer("text").text.sourceText;w = L.length;temp = content("Rectangle 1").content("Rectangle Path 1").size[0];[w*27-thisComp.layer("myLine-1").content("Rectangle 1").content("Rectangle Path 1").size[0]-20,80]in the opacity of the shape rectangle "myline-2'd=thisComp.layer("text").text.sourceTextif (d.length > 64 && d.length < 999 ) 100 else 0;if it’s a cow it will moo

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy