How to access label of dropdown property?
Hi Everyone!
I thought this would be simple enough, but can't seem to find an answer in my research so I thought I would ask on here. I'm needing to get the label of a dropdown for an effect's parameter.
I can use the following to get the index of the selection in the dropdown returned:
myLayer.effect("Effect Match Name")("Dropdown Param Name").value
However, I want the label that is in the actual dropdown, not the index value. Is there any way to retrieve that or do I just need to create some kind of enum array and do a lookup?
Thanks,
Arie
