self-modifying abstractions
pix
pix at test.at
Tue Sep 25 13:56:27 CEST 2001
hey thanks (again, maybe) :)
this is exactly what i was trying to do.. tho the [$1] solution i stumbled
across actually turns out to be a lot easier in my specific case.
pix.
On Tue, 25 Sep 2001 13:50:46 +0200
IOhannes m zmoelnig <zmoelnig at iem.kug.ac.at> wrote:
> pix wrote:
> >
> > wow, i just found myself asking almost the same question earlier this
> > year, on this list *slap*.
> >
> > okay, so miller writes:
> > > If you name a subpatch "fred" for instance, you can send messages to
> > > "pd-fred". I've used it to add text comments to windows
> automatically,
> > > but in principle you should be able to do anything that appears in a
> > saved
> > > Pd file (adding and connecting objects).
> >
> > the problem here is that if you have two abstractions called fred, the
> > actions appear to happen to both of them (i've just been playing with
> the
> > selectall at the moment), which makes it a little less useful than i
> had
> > first imagined.
> >
> > is this something that can be avoided?
> >
> >
>
> hi !
>
> the most simple thing would be:
> using "namecanvas $0-fred" somewhere in the abstraction
> and then talking to (modifying) an object $0-fred, as you are used to to
> this.
> i always do it this way, so i can be (quite) sure, that i am modifying
> only the current patch.
>
> again:: no matter, what pd says, "namecanvas" is not obsolete !!!
>
> (i think, this might is the answer i gave you "earlier this year")
>
> mfg.cs.asdt
> IOhannes
More information about the Pd-list
mailing list