Dynamical setting for temporary search paths

Dec 29, 2012 at 11:34am

Dynamical setting for temporary search paths

I have watched the “Do you know?” tutorial n.37 about temporary search paths
http://cycling74.com/2011/10/03/week-37 … 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 at 12:31pm

Try this.

– Pasted Max Patch, click to expand. –
Dec 29, 2012 at 8:36pm

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 at 11:01am

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

– Pasted Max Patch, click to expand. –
Dec 30, 2012 at 5:04pm

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!


You must be logged in to reply to this topic.