Forum Replies Created

Page 1 of 6
  • Nick Hill

    January 30, 2024 at 8:48 pm in reply to: Adding an expression to a path

    So weird. I just tried that again and it didn’t work. I did, however, make it work using a slightly hacky workaround, going from further back up the tree:

    </p><p>cg = shp.property("Contents").property("CurveGrp").property("Contents");<br> cg.property("Path 1").property("Path").expression = "value";</p><p></p><p>

  • Nick Hill

    January 30, 2024 at 9:56 am in reply to: Adding an expression to a path

    Thanks Dan. That doesn’t work though sadly, neither does curv.property("Path 1").expression =...

    The hierarchy on the layer is Contents > CurveGrp > Path 1 > Path, if that helps.

  • Nick Hill

    January 29, 2024 at 11:01 pm in reply to: Adding an expression to a path

    I should clarify – this is an AE script rather than an expression.

  • Nick Hill

    January 29, 2024 at 9:47 pm in reply to: Why isn’t this script creating four nulls?

    You sir are a genius – this is the correct answer. Thank you so much!

  • Nick Hill

    January 29, 2024 at 8:45 pm in reply to: Why isn’t this script creating four nulls?

    Ah, sorry Dan! I didn’t include all the code; addSlider() and addCheckbox() are defined elsewhere –

    <br>function addSlider(targetLayer, sliderName, defaultValue) {<br>var slz = targetLayer.property("Effects").addProperty("ADBE Slider Control");<br>slz.name = sliderName;<br>slz("Slider").setValue(defaultValue);<br>return slz.propertyIndex;<br>}</p><p> function addCheckbox(targetLayer, chkName, defaultValue) {<br>var chz = targetLayer.property("ADBE Effect Parade").addProperty("ADBE Checkbox Control");<br>chz.name = chkName;<br>chz.setValue(defaultValue);<br>return chz;<br>}</p><p></p><p>

    These work the first time round, and if I comment them both out I get four nulls… so what’s happening with these functions that they’ll only run through once?

  • Amazing – thanks Dan!

  • Nick Hill

    April 18, 2023 at 4:42 pm in reply to: Replacing footage based on a text filter

    Thanks Juliette. It’s not quite the way I want to do it (I need backup copies of all the timelines, including in their preview-clipped state), and in any case it doesn’t work. I can’t select multiple clips and then replace them as the Replace Footage option is greyed out with more than one selected. Offlining a load of clips and then relinking to the licensed versions doesn’t work either, as the names are different (eg AdobeStock_1234567890_Preview.mov vs AdobeStock_1234567890.mov), so Premiere isn’t smart enough to relink the rest automatically :/

  • Nick Hill

    April 12, 2023 at 8:12 pm in reply to: Replacing footage based on a text filter

    So…. I guess the next question is (if this is even possible in ExtendScript): would a panel that did something like this be useful to anyone?

  • Nick Hill

    March 8, 2023 at 3:52 pm in reply to: Super weird expression oddity

    Thanks Yoan, I’ll check that out.

    I eventually solved this by calculating the height of each line of text with its .leading property, rather than using sourceRectAtTime. Still can’t work out why sourceRect was throwing everything off.

  • Nick Hill

    February 22, 2023 at 7:35 pm in reply to: restoring the proper “code” font in AE expressions

    Ahhhh excellent, hadn’t seen that. Thank you!

Page 1 of 6

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