navigate in folders & path

Mar 28, 2011 at 7:45pm

navigate in folders & path

I discovered recently dynamic search path with filepath object.

I’d need today to “navigate”.

This one:

… gives me the folder where the patch is located.

I want to have the parent of this folder.
Any idea ?

I’ll make a standalone, in the end, I hope I won’t have problem related to that…

Mar 28, 2011 at 8:58pm

Hello Julien,


This should give you the full (absolute) path to the patch, but it might not work if you call it from a Max Collective (or Application, which has a Collective inside).

If you’ll make a standalone you should check the [standalone] object. The attribute “usesearchpath” set to 1 creates a search path of all subfolders of the folder containing the application. Inside that folder should be the files the application will refer to.

Is this what you were asking? If not please give more details.


Mar 29, 2011 at 12:43am

If you use [regexp (.*/).*/] the second outlet will provide the path for the directory above the one sent to the input.

Mar 29, 2011 at 1:44pm

Hello Ignacio & Luke !
and thanks a lot.

Indeed, I’m figuring out all the differences between standalone & patch machine launching.

I hope I won’t have other surprise :)


You must be logged in to reply to this topic.