[PD] Get name of patch from within the patch

Chris McCormick chris at mccormick.cx
Tue Mar 4 02:54:35 CET 2014


On 03/03/14 21:55, Kaj Ailomaa wrote:
> Hi. I've been googling a bit and looking through the library of objects
> that comes with pd-extended, but can't seem to find a way to get the
> name of the patch from within the patch. Anyone know of a nice method to
> do this?

I would use [namecanvas] for this. For example you could have an object
like [namecanvas $0-mypatch] and then you can send messages to the patch
using e.g. [s $0-mypatch].




More information about the Pd-list mailing list