getting umenu to send just the filename without filetype

Dec 19, 2010 at 10:22pm

getting umenu to send just the filename without filetype

hey folks. i am new into maxmsp and trying to build a umenu that just sends the filename without the filetype.
e.g. “test.txt” – i want just to recieve “test”
could anybody help me?

Dec 19, 2010 at 11:28pm

another solution would be to load just the filenames directly.
e.g. having a dropbox and the umenu is just created by the filenames without filetype.
would be great if anyone could help me.

Dec 20, 2010 at 12:28am

a picture of what i did.
i want to drop a folder that creates a menu. i want to choose a file from the menu that is set to a message with a PREFIX and without the file ending “.rtf”.
thanks :)


  1. foto.tiff
Dec 20, 2010 at 12:04pm

A small regexp may help:

– Pasted Max Patch, click to expand. –
Dec 20, 2010 at 12:16pm

thumbs up! thank u a lot. :)
just one little other problem:
if i drop a folder with .txt files inside the “folder” object works. but he doesnt recognize .jar files. why is that?

Dec 20, 2010 at 1:52pm

You need to send folder the right types message.
I unfortunately don’t know the 4 letters code for .jar, it is not defined in the max-fileformats.txt file, so you may have to add one yourself…


You must be logged in to reply to this topic.