Forums > MaxMSP

relativepath… does it work?

Dec 14 2009 | 11:39 pm

what does this object do?
i would think that i could an argument like:

[relativepath ../]
and it would output the path w/ a single dir up from in input path.


[relativepath ./myfolder]
[relativepath myfolder]
to get dig into a folder named ‘myfolder’ from a given input path.

does it not do this? how, or why not?
i am about to write a super ugly max-style thing that does it, but before i do, i wanted to ask this question.

i know about js and how to convert a path into an array… this is not what i am looking for.


Dec 15 2009 | 12:03 am

FWIW, I saw in the help file that it only seems to have relatives of the c74 variety. I hope that this isn’t always the case.


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

Forums > MaxMSP