Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Adobe After Effects Expressions Script Dropdown to change Effect Dropdown

  • Script Dropdown to change Effect Dropdown

  • Kevin Snyder

    November 22, 2022 at 10:31 pm

    I’m trying to use a dropdown menu in a script to change the dropdown value of an effect. I’m using the code below, but it doesn’t work and no error message is generated.

    The dropdown menu in the script is dropdown1.selection.

    var myType = myLayers[i].effect("Make Selection")("Type");

    var userSelect = dropdown1.selection.value;

    myType.setValue.(userSelect);

  • Dan Ebberts

    November 22, 2022 at 10:38 pm

    Maybe the first line needs to be:

    var myType = myLayers[i].effect("Make Selection")("Type").value;
Viewing 1 - 2 of 2 posts

Log in to reply.

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