Forums > MaxMSP

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

Mar 15 2011 | 8:22 pm

here: 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.

is there a way to handle that more dynamically ?

all the best,

Mar 16 2011 | 9:35 am

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


Mar 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)

Mar 16 2011 | 2:24 pm

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

Mar 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:

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

Mar 17 2011 | 9:53 am

or just do something locally with a little hack?:

-- Pasted Max Patch, click to expand. --

Mar 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)

Forums > MaxMSP