Forum Replies Created

  • Fede Parodi

    December 23, 2024 at 10:01 pm in reply to: Extendscript naming Dropdown Menu effect

    Thanks a lot Dan! That solved it

  • Fede Parodi

    December 23, 2024 at 1:36 pm in reply to: Extendscript naming Dropdown Menu effect

    Hi, I have a similar situation. In my case, I would like to be able to change the active item in the dropdown menu.

    I guess it would be something like this:

    var dropdownItems = [

    “Left”,

    “Center”,

    “Right”

    ];

    var boxLayerDropdown = boxLayer.Effects.addProperty(“ADBE Dropdown Control”);

    var temp = boxLayerDropdown.property(1).setPropertyParameters(dropdownItems);

    temp.propertyGroup(1).name = “Align”;

    temp.propertyGroup(1).setValue(1); // Here I want to set a default value at “Center” but it’s not working.

    Do you know how can I change the values of a dropdown menu?

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