Saving a populated umenu in a M4L device

mike fonte's icon

I'm trying to make a umenu, where I can store names for my presets. By sending the umenu a message like "append songName1" I can populate the menu, and then save it with the device. Problem is, I need to be to do this while the device is closed (not in edit mode). Otherwise I would have to re-open the device every time I want to add a name. Is it possible to save the umenu contents, while not in edit mode?

Andrew Pask's icon

Perhaps you can do something with a dict in parameter mode

-A

mike fonte's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Thanks for the advice, Andrew. I was able to make a preset naming system, that recalls the names when I save and reopen the set (no need to manually save). Now I'm also thinking about adding parameter data to the dictionary.

Andrew Pask's icon

Cool.

Another way might be to use pattrstorage in parameter mode and have a "preset name" pattr stashing the contents of a textedit object.

Cheers

-A

mike fonte's icon

Wow, didn't know textedit did that. Might be the simplest solution yet.

Jay Walker's icon

If that's the case, and I'm happy that is so, could you post an example so ppl who are skimming the forums like me have a working example to plug and play? Thx!