Folder/ file path stuff

I’m currently using [opendialog fold] to load some umenus with file names. What I’d like to do is split the folder into a list of all the individual file names before going to the umenus. How do I got about doing this?

yes, because it outputs all the elements sequentially, not at once. you should rahter plug a [print] at the outlet of an object you don’t know that you want to test, not a message box, a message box will only display the last element that it has received.

<code>

– Pasted Max Patch, click to expand. –

Copy all of the following text. Then, in Max, select New From Clipboard.

That said, it’s slightly a bit tricky to use [folder] in the above patch, because unlike most of the max objects, the leftmost outlet – which is all the elements in requested folder output sequentially – comes out first, and the rightmost outlet – which is the actual size of the list – comes out last. In this patch you can’t set the size of [zl group] by the size of the list, because it so happens that if you change the size of the [zl group] it empties its content, and as the size information would come to him after the elements od the list (leftmost outlet), it would be emptied of its content.