Forums > MaxMSP

PATH doesn't include the folder where the patch is …..? what ?

March 15, 2011 | 8:22 pm

hello,
here: http://www.cycling74.com/docs/max5/vignettes/core/search_path.html I can read the path include the folder of the last loaded patch.
so I guess if I open an help patch, the patch’s path is removed from the path.
right?

is there a way to handle that more dynamically ?

all the best,


March 16, 2011 | 9:35 am

Not sure to understand what you’re after. You can dynamically manage your filepathes with the filepath object.

p


March 16, 2011 | 1:49 pm

I just want to have the folder where my patch is, inside the PATH.
I’ll tweak & try filepath object.

thanks (a lot)


March 16, 2011 | 2:24 pm

Additionally, there’s the filepath object, which allows you to dynamically update file preferences.


March 16, 2011 | 2:27 pm

yes jvkr
I just tested
it works (obviously)

I need now to check a subfolder inside the folder where my patch is.

I always have:
/FOLDER/VIDEO

my patch is in /FOLDER
I need to grab filename in /FOLDER/VIDEO



pid
March 17, 2011 | 9:53 am

or just do something locally with a little hack?:

– Pasted Max Patch, click to expand. –

March 17, 2011 | 9:58 am

thanks a lot for all your answers

just that is enough for me:

– Pasted Max Patch, click to expand. –

the path message to thispatcher (and I even didn’t know that :-( )


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