Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Adobe After Effects Extendscript, how to get string labels/values and indexes in Dropdown?

  • Extendscript, how to get string labels/values and indexes in Dropdown?

  • Nicholas Ho

    March 8, 2023 at 7:38 pm

    Hey,

    So the property I’m talking about is “Based On”, commonly seen in the Text Animators. The matchName is “ADBE Text Range Type2” and when calling .isDropdownEffect() it returns false.

    I can access:
    prop.minValue = 1

    prop.maxValue = 4

    which corresponds to “Characters”, “Characters Excluding Spaces”, “Words”, and “Lines”, but I don’t think it’s possible to retrieve these same labels using code.

    Anyone know the answer here?

     

  • Walter Soyka

    March 8, 2023 at 8:27 pm

    I don’t think you can retrieve the labels. You’ll probably just have to consider them enumerated values.

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