Skip to main content
Adirai Maji
Inspiring
May 12, 2020 6:31 AM UTC
Question

Match Name for Dropdown Menu Control Effect Randomly changing

I'm currenly working on a script which uses Dropdown Menu Control effect.

 

I can use this Match Name : "ADBE Dropdown Control" to add Dropdown menu to a layer.

But If I want to check whether a layer contains dropdown menu using this same Match Name it doesn't work well. I've tried alert the matchName of existing Dropdown Menu. It randomly changes something like "Pseudo/@@qpFySX4lSVK41BTpoPU+jA"  How to verify If a layer or multiple layers have dropdown menu added in it by it's matchName?

5 replies

Participant
Jun 6, 2024 3:15 PM UTC

I am facing this same problem even in 2024 update..any idea?

Translate
Known Participant
Jun 14, 2024 9:28 PM UTC

I used slider instead

Translate
Dan Ebberts
Community Expert
Community Expert
Sep 26, 2022 7:06 AM UTC

Good question. I don't have any inside knowledge, but if I had to guess, I'd say the fact that the Dropdown Menu control lets you add, subtract, or edit elements on the fly is somehow the reason for it being implemented as a Pseudo Effect. If you edit one in any way, it appears to generate a new Match Name. So, I don't know how you verify it's a Dropdown Menu control just by its Match Name, unless maybe they all begin with "Pseudo/@@".

Translate
Known Participant
Sep 26, 2022 5:10 AM UTC

Jesus, how hard is it to make names consistent?

 

Translate