[sharing] preset namer

elmiller's icon

I just finished a patch which allows for the naming of pattrstorage presets through a dialog window. The names get stored in a umenu. It's probably not as efficient as it could be, but it works. Please if you have any suggestions.

Thanks,
Eric

Max Patch
Copy patch and select New From Clipboard in Max.

kthozoid's icon

hi Eric,
for some reason the umenu keeps being returned empty after i hit 'save'. didn't have a chance to fully investigate it yet. i'm using something similar. here's a quick version of one:

Max Patch
Copy patch and select New From Clipboard in Max.

`

elmiller's icon

I think it needs to be saved and reopened to work as there is a loadmess object which is needed to initialize the patch. (I just got the same issue as you when copying it from here to test it, then realized that it wasn't initializing for this reason)

Please let me know if it still does not work.

Thanks for sharing your solution as well. I couldn't find much for reference on the forums when beginning this, and it's nice to see another way to do it.

Thanks,
Eric

kthozoid's icon

hi Eric,
yes it works great when initialized from loadmess. should have thought of that when i copied it first time.

elmiller's icon

Update on this. Had an issue with timing if this is the first opened patch in max. (loadbang message being sent before json file was fully loaded to pattrstorage) Here is the corrected version:

Max Patch
Copy patch and select New From Clipboard in Max.