Forums > MaxMSP

Getting a filename from umenu

August 23, 2011 | 3:36 pm

Good afternoon,

I am working on a patchers that uses the umenu as a playlist. All is going well however I am looking at sending a selected item from the umenu to a message. It seems straight forward however the items in the umenu are audio files. For example, bob.wav, fred.wav. If I use [prepend set] it send the whole filename to the message box i.e. C:Documents and settingsDesktopBob.wav. Even though it only says just Bob.wav in the menu, how can I export this name as it is to a message box? I hope I have explained it clearly enough! Any assitance would be appreciated.
Thanks
Nick :)


August 23, 2011 | 3:40 pm

[strippath] or the [regexp] example in the [strippath] helpfile?


August 23, 2011 | 5:13 pm

Hi Tim,

Will give this a try. Thanks for your help again!

Nick


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