(folder) vs (prefix) and autopopulate to fill a umenu?


    Aug 31 2010 | 5:21 pm
    I've always been using a (folder) feeding into a (umenu) to make a list of files, however, I notice that sending a (prefix) message + enabling the autopopulate attribute does the same thing.
    Are there any pros or cons to each approach?

    • Aug 31 2010 | 7:49 pm
      If I remember well, with the prefix method, the middle outlet of the umenu will give you the full file's path while the folder method will only give you the file name.
    • Sep 01 2010 | 10:46 pm
      on a related note; we've been having a hell of a problematic time trying to get this to work on a osx-based system; umenu doesn't populate properly, on either 5.1.4 or 5.1.5. Could I bother a kind osx user to try it out? A little patch of like 8 objects would work perfectly fine, but drag it over to OSX and nothing. We're looking for populate, then count with the different concatenate/ignore options; basically the "gimme access to this folders content" deluxe.
      thanks, Andreas.
    • Dec 27 2015 | 6:45 am
      I'm having trouble understanding the syntax required to get the [folder] object to populate a [umenu]. I find a lot of the Max help files hard to use in this way.
      I would prefer to have a set of presets for my patch in a folder called presets, so when the patch loads it gets a list of all the available preset files and populates a [umenu] with them.
      Re: the attached patch - from the help files: I can use the example in patch 2 to report a file path, which I can then paste into the [folder] object in patch 1. But I can't seem to use something as simple as "/presets/".
      Also in patch 2 - prepent and append aren't explained.
      Patch 3 looks like the most simple - but I can't figure out the syntax.
      There's some mention of this in Tutorial 13: Movie Sequencing but they never explain how to create you own file paths.
    • Dec 27 2015 | 5:53 pm
      See if this helps.