Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Script Dropdown to change Effect Dropdown

  • Script Dropdown to change Effect Dropdown

    Posted by Kevin Snyder on 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
    replied 2 years ago
    2 Members · 1 Reply
  • 1 Reply
  • 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;

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