Forums > MaxMSP

Sorting umenu

April 4, 2013 | 8:52 am


Is there a way to sort the umenu’s?

I have a list of files which I want to sort.



April 4, 2013 | 9:38 am

You might consider putting the list in a coll, sorting it there and then dumping it into the umenu.

Best, Jeremy

April 4, 2013 | 9:56 am

I thought of that, but how do I get the file list into coll??
Since the umenu gets it’s list from the folder object.



April 4, 2013 | 10:24 am

Maybe something like this. You could also just use umenu’s folder-referencing feeature, too, although it doesn’t support custom sorting.

Best, Jeremy

– Pasted Max Patch, click to expand. –

April 4, 2013 | 11:34 am

Thanks Jeremy,

That did it!


Viewing 5 posts - 1 through 5 (of 5 total)