access the contents of a [pattr] preset without poking the relevant UI


    Aug 25 2012 | 7:27 pm
    I'm sure this is in the pattr helpfile somewhere, but before I go digging - how can I access the contents of a pattr preset without bothering the relevant UI objects? Simple enough to load the preset and listen to the UI, but what if I want to leave the UI alone and just see what the preset says?
    Many thanks in advance
    Joe

    • Aug 26 2012 | 12:06 am
      Don't you just doubleclick the pattrstorage? Or one of them, and it shows all the presets and their values? Can also write the preset to disk and see (edit) it there.
    • Aug 26 2012 | 12:32 am
      I mean outlet it or send a message - of course I can edit it, but what if I want to use it for something else?
      Probably I will not have to do this, but sitll curious
    • Aug 27 2012 | 11:42 am
      One solution is to use another pattr (with its @invisible attribute set to one) to bindto to the UI element you want to 'observe'. See the 'remoteGetSetOfUI' subpatcher in the below patch