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