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

jamesson's icon

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

Rodrigo's icon

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.

jamesson's icon

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

willyc's icon
Max Patch
Copy patch and select New From Clipboard in Max.

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