[PD] [Pd] How to load/save subpatch content dynamically

Chuckk Hubbard badmuthahubbard at gmail.com
Mon Nov 19 20:45:35 CET 2007

This patch will load subpatches from existing .pd files.  Actually, it
copies them.  Requires zexy.  Seems crazy that it takes this many
objects to do it, but this is the simplest way I could find, due to
some of the little idiosyncrasies of Pd.
I'll post a reply soon with another to save subpatches to .pd files
(to copy them back).  If it works, it should be possible to
dynamically save and load the content of subpatches externally.  If
anyone knows a simpler way, please tell me.
Does not work completely with .pd files containing the [csoundapi~]
object, FYI.  I think it ends up pasting the clipboard into tabularasa
before completely loading the patch.

Anyone know how to skip over the "Close this Window?" message?  Maybe
sending key messages for Ctrl-Shift-w?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: my-convolution.pd
Type: application/octet-stream
Size: 1785 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20071119/0abf5ab5/attachment.obj>

More information about the Pd-list mailing list