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).
On Fri, Jan 26, 2001 at 05:50:44PM +0100, Guenter Geiger wrote:
is there anyway of finding out the id of the current window, so that ;pd
messages can be sent which modify the current patch?
It should be possible by writing a small external at least ..????
if so, would it be technically possible to make an abstraction that has a
variable number of inlets/outlets (that is, triggered by a loadbang, it
would use the creation parameters to build additional inlet/outlet
there are possibly a lot of issues i havent considered, regarding the
order of events during creation.
sorry, i think i have a bit of a repressed fetish for self-modifying code