Ubmenu and relative folder path


    Apr 07 2006 | 2:54 pm
    I'm sure this has been discussed but a search of the archive didn't return
    anything.
    How do a set the folder for a ubmenu to refence a subfolder no matter where
    the higher folder is moved.
    Cheers,
    Gary Lee Nelson
    TIMARA Department
    Oberlin College
    www.timara.oberlin.edu/GaryLeeNelson

    • Apr 07 2006 | 4:01 pm
      This one is pretty simple if you just bare with me. Basically you need to use the 'thispatcher' object. I've attached an example patch that should do the trick.. You'll see that when you load it up the file path of where you saved the patch is set and sent to the ubumenu.
      If you want a preset (i.e. no auto populate) list in relative folders you might have to add the folder name to the item in the list.
      Only major downside is that this doesn't seem to work if you build the patch as a standalone
      Hope this helps
    • Apr 07 2006 | 4:03 pm
      sorry here it is
    • Apr 07 2006 | 4:08 pm
      last try
    • Apr 07 2006 | 4:11 pm
      K heres a screen grab.. just copy the code into max.. and you have to bang path yourself the first time.
      Sorry man can't seem to upload on this forum :(
    • Apr 07 2006 | 4:35 pm
      Finally here's a link to a page where you can download it.. sorry bout all this
      (might have to change file extension to .mxb)
    • Apr 07 2006 | 4:39 pm
      One last thing.. the thispatcher object has to be on your main patcher window otherwise it won't work.. so don't put it in your subpatches what ever you do
    • Apr 07 2006 | 5:01 pm
      I've got four messages from you but none have attachments or code. I
      downloaded relativepath but is has no inlets or outlets.
      Cheers,
      Gary Lee Nelson
      TIMARA Department
      Oberlin College
      www.timara.oberlin.edu/GaryLeeNelson
    • Apr 07 2006 | 5:10 pm
      Nah man its a max patch, not an object.. change the extension to .mxb and open it in max so you can copy the code into the patch your working on.. as I said before the this patcher object has to be on your main patch window for this to work.. would have been nice if I could attach the file but it doesn't seem to work... maybe cause I just joined or something
    • Apr 07 2006 | 6:38 pm
      I download with .mxb. Just won't open. Can you send the patch as text in a
      message?
      Cheers,
      Gary Lee Nelson
      TIMARA Department
      Oberlin College
      www.timara.oberlin.edu/GaryLeeNelson
    • Apr 07 2006 | 8:48 pm
      here it is :
      Julien.
    • Apr 07 2006 | 9:52 pm
      Thanks. Almost exactly what I came up with when read that thispatcher could
      give me the parent folder.
      Cheers,
      Gary Lee Nelson
      TIMARA Department
      Oberlin College
      www.timara.oberlin.edu/GaryLeeNelson