Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions turn effects off/on by name through scripting

  • turn effects off/on by name through scripting

    Posted by Rodrigo Trovao on August 4, 2020 at 4:17 am

    Hello guys!..
    I’ve been searching it, but didn’t find a way to reach it. Could you guys help me out?

    The only thing i dont know, is how to reach this “fx” switch, at effects name (left side).

    Rodrigo Trovao replied 5 years, 9 months ago 2 Members · 2 Replies
  • 2 Replies
  • Demarc Johnson

    August 4, 2020 at 5:13 am

    You should be able to do it with the code below. Just replace the layer name with the actual name of your layer. Change the boolean to true if you want the effect to be on and false for off.

    app.project.activeItem.layer("layer name").effect("CC Image Wipe").enabled = true; // Replace the layer name to actually name of the layer
    //True to turn on the effect and false to turn off the effect

    For Expression Tutorials:
    https://www.youtube.com/channel/UCe77szX2n1WSKsGs-2gmbDw

  • Rodrigo Trovao

    August 4, 2020 at 3:33 pm

    Thanks, DeMarc Johnson!

    Got a bit confused but you clarified.

    Thanks a lot.

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