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

Mar 15, 2011 at 8:22pm

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

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,

#55580
Mar 16, 2011 at 9:35am

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

p

#199923
Mar 16, 2011 at 1:49pm

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

thanks (a lot)

#199924
Mar 16, 2011 at 2:24pm

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

#199925
Mar 16, 2011 at 2:27pm

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

#199926
Mar 17, 2011 at 9:53am

or just do something locally with a little hack?:

– Pasted Max Patch, click to expand. –
#199927
Mar 17, 2011 at 9:58am

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 :-( )

#199928

You must be logged in to reply to this topic.