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


    Sep 11 2013 | 10: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.

    • Sep 11 2013 | 3:29 pm
      I think the 'path' message to the thispatcher object will give you what you want (out the right outlet).
    • Sep 11 2013 | 6:59 pm
      Hi,
      thanks!
      Cheers,
      Ádám