File Storage

    Oct 06 2006 | 8:57 am
    I'm in need of a little help,
    I've made a patch where I'm recording and saving audio samples but I want
    the samples to be saved in the same folder that I have the patch in, not
    in the default folder where the Max/MSP icon is. How can I make it so.

    • Oct 10 2006 | 4:10 pm
      2 ways:
      1. filepath's default path can be set.
      2. use opendialog to find the path or manually type it in as an argument to your write/open message.
    • Nov 16 2006 | 6:08 am
      I could have sworn there was this huge thread about the path of the
      max folder (or your applications folder) and If I recall correctly,
      it wasn't solved. I hacked this together, it works for me. it needs
      jasch's objects, and the shell object
      heres to hoping I help someone, bottoms up.
    • Nov 16 2006 | 6:57 am
      well, it's a nice hack;
      but not cross-platform :)
      if you aren't into the filepath thing, you could just include the path in your write message.
      here's the way i do it: