Perfect. Thank you guys. I haven&#39;t tried it yet but I&#39;m sure this is exactly what I need, as closing the actual patch is irrelevant as long as I can get one to grab focus.<div><br></div><div>Tyler<br><br><div class="gmail_quote">
On Wed, Mar 14, 2012 at 3:23 PM, Jonathan Wilkes <span dir="ltr">&lt;<a href="mailto:jancsika@yahoo.com">jancsika@yahoo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
There&#39;s one in doc/manuals/0.intro/+pager.pd.  But notice that is doesn&#39;t try to<br>
<br>
close any of the patches.<br>
<div class="im HOEnZb"><br>
-Jonathan<br>
<br>
<br>
<br>
----- Original Message -----<br>
</div><div class="HOEnZb"><div class="h5">&gt; From: Dafydd Hughes &lt;<a href="mailto:dafydd61@gmail.com">dafydd61@gmail.com</a>&gt;<br>
&gt; To: Jonathan Wilkes &lt;<a href="mailto:jancsika@yahoo.com">jancsika@yahoo.com</a>&gt;<br>
&gt; Cc: Tyler Leavitt &lt;<a href="mailto:thecryoflove@gmail.com">thecryoflove@gmail.com</a>&gt;; pd-list &lt;<a href="mailto:pd-list@iem.at">pd-list@iem.at</a>&gt;<br>
&gt; Sent: Wednesday, March 14, 2012 5:38 PM<br>
&gt; Subject: Re: [PD] Switching Between Multiple Patches for Installation<br>
&gt;<br>
&gt; On Wed, Mar 14, 2012 at 5:30 PM, Jonathan Wilkes &lt;<a href="mailto:jancsika@yahoo.com">jancsika@yahoo.com</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;  If your patch is named foo.pd, send a &quot;vis 1&quot; message to it to<br>
&gt; give the window the focus, like this:<br>
&gt;&gt;<br>
&gt;&gt;  [vis 1(<br>
&gt;&gt;  |<br>
&gt;&gt;  [pd-foo.pd]<br>
&gt;&gt;<br>
&gt;&gt;  Automation is tricky.  In pd-extended or vanilla it will crash pd if you<br>
&gt; try to get a patch to close itself.<br>
&gt;<br>
&gt; Not at pd right now, but can you get around that using an independent<br>
&gt; control patch that opens and closes patches?<br>
&gt;<br>
&gt; cheers<br>
&gt; dafydd<br>
&gt;<br>
</div></div></blockquote></div><br></div>