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.
Tyler
On Wed, Mar 14, 2012 at 3:23 PM, Jonathan Wilkes jancsika@yahoo.com wrote:
There's one in doc/manuals/0.intro/+pager.pd. But notice that is doesn't try to
close any of the patches.
-Jonathan
----- Original Message -----
From: Dafydd Hughes dafydd61@gmail.com To: Jonathan Wilkes jancsika@yahoo.com Cc: Tyler Leavitt thecryoflove@gmail.com; pd-list pd-list@iem.at Sent: Wednesday, March 14, 2012 5:38 PM Subject: Re: [PD] Switching Between Multiple Patches for Installation
On Wed, Mar 14, 2012 at 5:30 PM, Jonathan Wilkes jancsika@yahoo.com wrote:
If your patch is named foo.pd, send a "vis 1" message to it to
give the window the focus, like this:
[vis 1( | [pd-foo.pd]
Automation is tricky. In pd-extended or vanilla it will crash pd if
you
try to get a patch to close itself.
Not at pd right now, but can you get around that using an independent control patch that opens and closes patches?
cheers dafydd