Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Access Smoother from Scripting

  • Access Smoother from Scripting

    Posted by Rob Frese on November 2, 2014 at 7:43 am

    Really a scripting question —

    Any way to access the Smoother via scripting? As in script it to smooth a selected properties keyframes by a designated amount? Trying to do a complex workflow thing via scripting (to save me from having to manually clip and smooth a bunch of things each time) but can’t seem to find any reference to this being accessable via scripitng.

    Dan Ebberts replied 11 years, 6 months ago 2 Members · 1 Reply
  • 1 Reply
  • Dan Ebberts

    November 2, 2014 at 3:50 pm

    I don’t know of any way to access the Smoother. I think the best you could do would be to apply a smooth() expression and then convert the result to keyframes:

    var myProp = app.project.activeItem.layer(“Audio Amplitude”).property(“Effects”).property(“Both Channels”).property(“Slider”);
    myProp.expression = “smooth(.2,11)”;
    myProp.selected = true;
    app.executeCommand(app.findMenuCommandId(“Convert Expression to Keyframes”));

    Dan

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