[PD] clearing a subpatch on exit?
badmuthahubbard at gmail.com
Sat Nov 12 10:58:29 CET 2005
Thank you, menuclose is the command I was looking for. Actually, the
subpatch I want to clear is not the patch I want to close. I also realized
none of this makes any difference if the patch isn't saved after clearing
Anyone know a way to save a patch by a command? Would
[; pd-JI.pd write JI.pd(
This message should do it, if run from another patch:
> |; /
> |pd-JI.pd clear; |
> |pd-JI.pd menuclose\
> On Nov 8, 2005, at 1:18 PM, Chuckk Hubbard wrote:
> > I still have the same problem with my presets- the subpatch wherein I
> > write them saves its contents, which include a 12,000-element array
> > per preset, and when I reopen my main patch, PD doesn't read the whole
> > thing. It doesn't reach the length I've been told PD patches can be,
> > but somehow it doesn't read to the end of the patch, and none of the
> > connections on the main page show up, among other things. If I open
> > in a text editor and delete all the scalars in that canvas, it works
> > fine.
> > Is it possible to execute a command when a window closes? Say, to
> > send ";pd-presetmemory clear" when JI.pd is told to close?
> > I tried [loadbang]---[;pd-presetmemory clear( but, even though that
> > command showed up before the presetmemory canvas in the file, it never
> > reaches that point on load.
> > I have a button for manually clearing pd presetmemory, but I don't
> > always hit it before I close.
> > Thanks.
> > -Chuckk
> > --
> > "It is not when truth is dirty, but when it is shallow, that the lover
> > of knowledge is reluctant to step into its waters."
> > -Friedrich Nietzsche, "Thus Spoke
> > Zarathustra"_______________________________________________
> > PD-list at iem.at mailing list
> > UNSUBSCRIBE and account-management ->
> > http://lists.puredata.info/listinfo/pd-list
> "The arc of history bends towards justice."
> - Dr. Martin Luther King, Jr.
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: smime.p7s
> Type: application/pkcs7-signature
> Size: 2353 bytes
> Desc: not available
> Url :
> PD-list mailing list
> PD-list at iem.at
> to manage your subscription (including un-subscription) see
> End of PD-list Digest, Vol 8, Issue 37
"It is not when truth is dirty, but when it is shallow, that the lover of
knowledge is reluctant to step into its waters."
-Friedrich Nietzsche, "Thus Spoke Zarathustra"
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pd-list