recursive filepath?

Jan 31, 2010 at 7:24pm

recursive filepath?

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 at 8:26pm

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. –

You must be logged in to reply to this topic.