How do i script a dropdown to output cc values

I am new to this and i suck at code and i wanna know how i can use the dropdown menu to control another dropdown menu on ableton that can be midi mapped to midi cc. I basically want it to output certain midi cc values. How can i do that?

here is an example

the value of each items in the menu as to be set considering of how many items there is in the Ableton's menu.

dropdownMenu.json (2.8 KB)

Thank you so so much