Forums > MaxMSP

recursive filepath?

Jan 31 2010 | 7:24 pm

I’m building a standalone, in which I’d like to be able to dynamically add a path to Max’s search path, but also to make that path recursive, to allow Max to search subfolders of the path. I know that in the File Preferences window, there’s a checkbox to allow entered paths to also have their subfolders searched, but I see no way using the filepath object to do so programmatically. Is there a way?


Jan 31 2010 | 8:26 pm

OK, answering my own question – Joshua at Cycling let me know that there is an undocumented way to do this – basically, you add a 1 after the pathname to indicate a recursive status for the path. Like this:

-- Pasted Max Patch, click to expand. --

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

Forums > MaxMSP