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