global pattr name lookup

barry threw's icon

With pattrmarker, I can define global names to my hierarchies.

Is there any way for me to lookup what these names are?

Example: I dynamically load a patch with a pattrmarker, and I want
that name be able to be accessed somewhere I know its there in my
hierarchy.

I can communicate with all of the hierarchies, so I should be able to
list them, correct?

Perhaps this is a dev question, and there is no object that does this
already...

b

--
Barry Threw
Media Art and Technology

San Francisco, CA
Work: 857-544-3967
Email: bthrew (at) gmail (dot) com
IM: captogreadmore (AIM)
http://www.barrythrew.com

"The greatest of the changes that science has brought us is the acuity
of change; the greatest novelty the extent of novelty."
- J. Robert Oppenheimer

barry threw's icon

So, the pattrmarker object has one f#$%ing message and I missed it. Doh.

Disregard my message...kind of. It would be cool if there were kind
of an add_client message that reported when the list changed. It'd
save me a send and receive.

b

On Jan 13, 2008, at 7:41 PM, barry threw wrote:

> With pattrmarker, I can define global names to my hierarchies.
>
> Is there any way for me to lookup what these names are?
>
> Example: I dynamically load a patch with a pattrmarker, and I want
> that name be able to be accessed somewhere I know its there in my
> hierarchy.
>
> I can communicate with all of the hierarchies, so I should be able
> to list them, correct?
>
> Perhaps this is a dev question, and there is no object that does
> this already...
>
> b
>
> --
> Barry Threw
> Media Art and Technology
>
> San Francisco, CA
> Work: 857-544-3967
> Email: bthrew (at) gmail (dot) com
> IM: captogreadmore (AIM)
> http://www.barrythrew.com
>
> "The greatest of the changes that science has brought us is the
> acuity of change; the greatest novelty the extent of novelty."
> - J. Robert Oppenheimer
>

--
Barry Threw
Media Art and Technology

San Francisco, CA
Work: 857-544-3967
Email: bthrew (at) gmail (dot) com
IM: captogreadmore (AIM)
http://www.barrythrew.com

"The greatest of the changes that science has brought us is the acuity
of change; the greatest novelty the extent of novelty."
- J. Robert Oppenheimer

Stefan Tiedje's icon

barry threw schrieb:
> It'd save me a send and receive.

Doesn't seem to be too expensive... ;-)
Or take a pattrforward instead, at least it would save you a receive...
And it would avoid a global receive name...

Max Patch
Copy patch and select New From Clipboard in Max.

--
Stefan Tiedje------------x-------
--_____-----------|--------------
--(_|_ ----|-----|-----()-------
-- _|_)----|-----()--------------
----------()--------www.ccmix.com

barry threw's icon

Indeed...that works pretty well.

I generally just want everything in the pattr universe to keep me
informed of what it is doing without me having to ask it though. No
big deal.

b

On Jan 15, 2008, at 3:59 AM, Stefan Tiedje wrote:

> barry threw schrieb:
>> It'd save me a send and receive.
>
> Doesn't seem to be too expensive... ;-)
> Or take a pattrforward instead, at least it would save you a
> receive...
> And it would avoid a global receive name...
>
> #P window setfont "Sans Serif" 9.;
> #P window linecount 1;
> #N vpatcher 351 122 592 307;
> #P window setfont "Sans Serif" 9.;
> #P window linecount 1;
> #P newex 50 79 144 196617 pattrforward ::buggy::buggy;
> #P newex 50 50 118 196617 loadmess getmarkerlist;
> #P connect 0 0 1 0;
> #P pop;
> #P newobj 154 147 83 196617 p getmarkerlist;
> #P newex 32 172 35 196617 print;
> #P newex 32 147 93 196617 pattrmarker buggy;
> #P objectname buggy;
> #P window linecount 3;
> #P comment 143 96 222 196617 place this in the same patch as the
> other pattrmarkers on load it will report... You have to name the
> main pattrmarker though;
> #P connect 1 0 2 0;
> #P window clipboard copycount 4;
>
>
> --
> Stefan Tiedje------------x-------
> --_____-----------|--------------
> --(_|_ ----|-----|-----()-------
> -- _|_)----|-----()--------------
> ----------()--------www.ccmix.com
>
>

--
Barry Threw
Media Art and Technology

San Francisco, CA
Work: 857-544-3967
Email: bthrew (at) gmail (dot) com
IM: captogreadmore (AIM)
http://www.barrythrew.com

"The greatest of the changes that science has brought us is the acuity
of change; the greatest novelty the extent of novelty."
- J. Robert Oppenheimer