Oct 21 2010 | 10:32 am
    Hello list, i'm looking for a way to read out the name of the patcher i'm working in. I thought the object thispatcher would be able to do this, but so far no luck in finding the right command. Am I missing something very obvious? Best Lev

    • Oct 21 2010 | 10:40 am
      You could use a patcherargs inside your patcher: it will output the name of the patcher thru its first inlet, eventually with the arguments you provided.
    • Oct 21 2010 | 11:46 am
      What i'm trying to get is the name of the file when i open it. So let's say the file is called test_01.maxpat, I would like to be able to display this in a Jit window.
    • Oct 21 2010 | 1:10 pm
      Sorry for the misunderstanting.
      You can get the name with js:
      function name () { outlet (0,; }
      Note that the file extension is removed from the output. If you need it, you can rather get the filepath property and use strippath to remove the filepath.
    • Oct 21 2010 | 2:54 pm
      ah great solution! thanks a lot.