Sorting umenu

Apr 4, 2013 at 8:52am

Sorting umenu

Hi,

Is there a way to sort the umenu’s?

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

Cheers

Bullen

#67520
Apr 4, 2013 at 9:38am

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

Best, Jeremy

#242958
Apr 4, 2013 at 9:56am

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.

Cheers

Bullen

#242959
Apr 4, 2013 at 10:24am

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. –
#242960
Apr 4, 2013 at 11:34am

Thanks Jeremy,

That did it!

Bullen

#242961

You must be logged in to reply to this topic.