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

Sep 11, 2013 at 3:43am

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

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.

#264958
Sep 11, 2013 at 8:29am

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

#264996
Sep 11, 2013 at 11:59am

Hi,

thanks!

Cheers,
Ádám

#265020

You must be logged in to reply to this topic.