I don't know a good solution for this problem... one possible approach might
- make an empty subpatch, call it "patch 1".
- Send a message, "pd-patch1 ojb 10 10 pd real-patch"
Then, send messages to the sub-sub-patch, using "pd-real-patch"
to delete it, "pd-patch1 clear".
I know that's dumb. I don't yet have a good way to do this in general...
On Wed, Apr 11, 2001 at 01:57:09PM +0200, _-¯-_ wrote:
|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).
jip, the problem is more how to access a new window for example, when you go
"pd menu-new;" the window pops up untitled .. when you start having several
untitleds it will get tricky .. you can do pd menu-saveas or so, but that just
pops up the save dialog and i couldnt find out yet how to pass the filename (=
windowname) to saveas to do an automatic-save-as ...