What is the best practise for popup-menus I wonder? I currently need to give the actual menu entry the same number of states as I have menu items. Not very elegant and kind of high maintenance. I admit, my menu is a little more complicated because it needs to convert to macOS Aqua, macOS dark and Windows but that is not relevant for the question. Is there a script that someone has done that I might be able to reuse that will set the popup menu’s entry to whatever is in the text (or, html) field of the last left-clicked menu-item? Without the need for an extra state for each menu item?
Menu.atype.zip (2.5 MB)
Thanks for any help!