I discovered recently dynamic search path with filepath object.
I’d need today to "navigate".
… 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…
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.
If you use [regexp (.*/).*/] the second outlet will provide the path for the directory above the one sent to the input.
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 :)
C74 RSS Feed | © Copyright Cycling '74