Enviromental parameters?


    Sep 18 2011 | 4:49 am
    Hi, I've got a patcher I'm using on two different machines, which have slightly different configurations (hard drive letters/paths, monitor sizes etc.). I'd like to parameterize my patcher such that I can easily tweak the behaviour on each machine (without having to hard code both sets of values).
    Is there an easy way to accomplish this? Perhaps a Max object which can read system environment variables?
    Thanks, James

    • Sep 18 2011 | 4:55 am
      jit.displays for monitor things, not sure about other variables.
    • Sep 18 2011 | 3:39 pm
      look into the screensize and gestalt objects and the "path" message to thispatcher. this might give you enough data.
      hth hans
    • Sep 22 2011 | 4:16 am
      path to thispatcher with a little atoi/zl/itoa magic will do the trick for the folder paths. Thanks!