Combine umenu text items into one message?

larryseyer's icon

I've searched through the docs, and the forums and couldn't find solution to what I'm trying to do.

The problem...

umenu is loaded with an unspecified number of text items.

I want to put those text items into one long message.

Join won't work because you have the know the number of items beforehand.

Any ideas?

Bill 2's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Not sure what you mean, Larry. Do you want to select each umenu item one by one and end up with a message that contains all of the items? This will do it, I think:

Or do you mean something else?

larryseyer's icon

Bill,

That is EXACTLY what I was looking for.

Thank you very much for your help!

All the best to you!

L

Roman Thilenius's icon

try [prepend append] for a less elegant version