Forums > MaxMSP

How to find the folder (path) where the currently running patch is?

September 11, 2013 | 3:43 am

Hi,

how can I find out the actual path of the currently running patch? By trial-and-error it seems to me that [filepath default] would do this for me, however, the documentation doesn’t say this explicitly (at least, I didn’t find any explicit comment on this). Also, it’s unclear what the behaviour of [filepath default] would be once I convert my patch into a standalone/application/executable; any comment on this would be indeed very helpful.

Thanks,
Ádám

P.S. The project for which I need to solve this is based on Max 5 and moving to Max 6 is not an option at the moment. I don’t know whether that makes any difference in this regard, though.


September 11, 2013 | 8:29 am

I think the ‘path’ message to the thispatcher object will give you what you want (out the right outlet).


September 11, 2013 | 11:59 am

Hi,

thanks!

Cheers,
Ádám


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