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?