populating a umenu
I am building a patch were I would like to populate a umenu with the contents of one of several sample folders.
Populating the menu is not the problem, but creating a message that will load the sample from the chosen folder into the buffer is where I am having the problems.
I have assigned a prefixfolder to the umenu and am sending the message out through a prepend with the replace message.
The buffer will not read though.
Think I might be missing something obvious…?
Any help would be great
The patch below should work for you. To find out where you were going wrong try putting a [print] after each outlet and seeing where the output differs from what you would expect. Oh, and remember the "autopopulate" attribute of [umenu].
----------begin_max5_patcher---------- 497.3ocwUFsaaBCEF9Z3ovxWmUgg.IY2smiopICXRckwFAGqksptm8Ye.RZh FMzlrjK.Kevb7++msO9kv.ZtYmniR9J46jffWBCBvP9.AC8Cn07cEJdGNLpV 7SS9yzE8eBD6.LbtspRz9GhQKF+VCGJdRp29iVQAzOEL1lGhVPXqV6aVE6eG G8PD4wg+oxnAMuVf47asRtZLaZasTqD.pB1gfFKLFM9MIoS9aLIL+bzGVVhY 0o9uvVNl19eG9UinWgzJkgCzENGw0aojG8C60vP+qEWFhZZEMBcIw0n3EyAS oY9lMqttXhMeLkLIl9bjI2BfQ+NNOE85xjQGehu+.t6M1X8jt3puFCjbRgRv aOqGyRwkXVz85LP16SE2Ifdi7+3HfqsRt6rLhEgmCVe2N.jdk2+OAVLdn37f YKoxnJOKW5Axl6V4y3owxEU3zVKz18zwk0gal16uo2ojrDaNT43yxDIHpOcZ OlSICQ4VvzXZrJNH9f0UmjeRMd2C9bDBQsPUR8o2ViHwG+Xt1YrsEiYcXqL4 .TJEcfTyAoqZ7gwvNZLOIKKE3mGsPsrrw3j3d97OWimqhbEfHrqqhXtcCo9c CLrDa19NWnTYyQpI2T5sdFqmY2TEcB.lfRKu46wNmjhuoJJdFJJ8BTjqyqg+ E.o16BE -----------end_max5_patcher-----------