Forums > MaxMSP

Dynamical setting for temporary search paths

Dec 29 2012 | 11:34 am

I have watched the "Do you know?" tutorial n.37 about temporary search paths … arch-path/

and would like to combine this method with detecting the path of the max patch itself. But I do not know if this latter can be done.

A combined method would be very useful to save [coll] data as an external file right into the folder containing the max patch. Besides, a max patch retrieved from archives or backups would also find its corresponding data right away.

Can this be done?
thank you for all suggestions

Dec 29 2012 | 12:31 pm

Try this.

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

Dec 29 2012 | 8:36 pm

Thank you for the answer, [thispatcher] is the object I have overlooked. As for [relativepath] if I understand correctly it only makes a difference if I am inside Applications/Max5/, which will not be in case for me (I want to use the folder where I save my max patch, which can be anwhere.)
But for the moment I also have a problem to define with precision where my data will be saved in a first place. It is probably better to ask under a different thread title.

Dec 30 2012 | 11:01 am

So your asking for the absolute path to the stored patcher?

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

Dec 30 2012 | 5:04 pm

Rick, this is perfect. Just adding the absolute path to write and read messages. No possible mistakes. I didn’t realize this could be done.
Thank you!

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

Forums > MaxMSP