Wow, perfect, even works in subpatches !
Exactly what I was looking for.
Looks like I still need to catch up with latest pd improvements.
Thanks a lot, IOhannes.

Joseph

Le 09/04/19 à 20:30, pd-list-request@lists.iem.at a écrit :
Date: Tue, 9 Apr 2019 16:50:41 +0200
From: IOhannes m zmoelnig <zmoelnig@iem.at>
To: pd-list@lists.iem.at
Subject: Re: [PD] patcher scripting using $0 ?
Message-ID: <2baa166a-d028-2c7c-a33a-48b7e452839d@iem.at>
Content-Type: text/plain; charset="utf-8"

On 09.04.19 16:26, Joseph Larralde wrote:
For example : I have a "soundbank" abstraction, which I initialize by
sending messages to "pd-soundbank.pd"
ouch. you shouldn't use that.

instead use [namecanvas $0-foo] and then send messages to "$0-foo".
or whatever name you chose.


ghasdrm
IOhannes