i made this object sometime ago for my own use and have found it helpful so decided to make it available.
it is a popup menu but works differently than umenu
the menu is populated by sending it a dictionary. the dictionary can contain the names of the menu entries as well as arbitrary data that can be associated with each entry. examples in help file
there is only a mac version in the repo but there is no reason it could not be compiled for windows. if anyone wants to do that let me know.
it is pattr aware and preset aware. styles don't seem to work not sure what i am doing wrong.
would love to see this just built into max as regular object.
Displays a pop-up menu. Selections will be output the first outlet and optional data can be attached to each entry.
The object must be initialized with a dict. Once initialized the menu items are saved with the patch. The pmenu can also be copied and retains menu entries. The dictionary needs to have at the top level a name key which is a string and a contents key which points to an array. the array can hold strings, other dictionaries with name and content keys (for submenus). Entries in the menu can also be a dictionary with a name key and data key. The values in the data key are ouput the 3rd outlet when the menu item is selected.
Only mac version of object is currently in repo but if anyone wants to compile for Window that would be great.