Re: [PD-dev] how to tell when a patch is finished loading

2009-09-12 Thread Mathieu Bouchard
On Fri, 11 Sep 2009, Hans-Christoph Steiner wrote: On Sep 11, 2009, at 11:34 AM, Mathieu Bouchard wrote: Please try not to duck-tape yourself in a corner. Indeed. I am interested in establishing an API. aah, good! That's the ::loaded array. I find it a strange turn-around of our traditio

Re: [PD-dev] how to tell when a patch is finished loading

2009-09-11 Thread Hans-Christoph Steiner
On Sep 11, 2009, at 11:34 AM, Mathieu Bouchard wrote: On Fri, 11 Sep 2009, Hans-Christoph Steiner wrote: Well, I found a little hack way to do it. It turns out that 'pd' sends this proc when its done loading: pdtk_canvas_getscroll .x64b920.c Please try not to duck-tape yourself in a cor

Re: [PD-dev] how to tell when a patch is finished loading

2009-09-11 Thread Mathieu Bouchard
On Fri, 11 Sep 2009, Hans-Christoph Steiner wrote: Well, I found a little hack way to do it. It turns out that 'pd' sends this proc when its done loading: pdtk_canvas_getscroll .x64b920.c Please try not to duck-tape yourself in a corner. _ _ __ ___ _ _ _

Re: [PD-dev] how to tell when a patch is finished loading

2009-09-10 Thread Hans-Christoph Steiner
On Sep 2, 2009, at 11:22 AM, Mathieu Bouchard wrote: On Tue, 1 Sep 2009, Hans-Christoph Steiner wrote: just ping the client... depends a bit on the branch... miller: sys_gui("pd %s done \\;\n",rcv->s_name); hans: sys_gui("pdsend \"%s done\"\n",rcv->s_name); matju: sys_gui("netsend \"%s don

Re: [PD-dev] how to tell when a patch is finished loading

2009-09-02 Thread Mathieu Bouchard
On Tue, 1 Sep 2009, Hans-Christoph Steiner wrote: just ping the client... depends a bit on the branch... miller: sys_gui("pd %s done \\;\n",rcv->s_name); hans: sys_gui("pdsend \"%s done\"\n",rcv->s_name); matju: sys_gui("netsend \"%s done\"\n",rcv->name); provided that you have done pd_bind((

Re: [PD-dev] how to tell when a patch is finished loading

2009-09-02 Thread Hans-Christoph Steiner
On Sep 2, 2009, at 2:30 AM, Frank Barknecht wrote: Hallo, Miller Puckette hat gesagt: // Miller Puckette wrote: I don't think there's any existing way to do it--- time to design some appropriate hooks :) Actually at RjDj we would also appreciate a hook for telling the user when a "scene"

Re: [PD-dev] how to tell when a patch is finished loading

2009-09-01 Thread Frank Barknecht
Hallo, Miller Puckette hat gesagt: // Miller Puckette wrote: > I don't think there's any existing way to do it--- time to design some > appropriate hooks :) Actually at RjDj we would also appreciate a hook for telling the user when a "scene" has been fully loaded and displaying a kind of hourglas

Re: [PD-dev] how to tell when a patch is finished loading

2009-09-01 Thread Miller Puckette
I don't think there's any existing way to do it--- time to design some appropriate hooks :) M On Tue, Sep 01, 2009 at 05:23:26PM -0400, Hans-Christoph Steiner wrote: > > On Sep 1, 2009, at 4:55 PM, Mathieu Bouchard wrote: > > >On Tue, 1 Sep 2009, Hans-Christoph Steiner wrote: > > > >>I'm playin

Re: [PD-dev] how to tell when a patch is finished loading

2009-09-01 Thread Hans-Christoph Steiner
On Sep 1, 2009, at 4:55 PM, Mathieu Bouchard wrote: On Tue, 1 Sep 2009, Hans-Christoph Steiner wrote: I'm playing around with some GUI behaviors, and I was wondering if anyone knows a way to tell that the patch is finished loading and 'pd' has finished sending all of the Tcl/sys_gui drawin

Re: [PD-dev] how to tell when a patch is finished loading

2009-09-01 Thread Mathieu Bouchard
On Tue, 1 Sep 2009, Hans-Christoph Steiner wrote: I'm playing around with some GUI behaviors, and I was wondering if anyone knows a way to tell that the patch is finished loading and 'pd' has finished sending all of the Tcl/sys_gui drawing commands. This would be a very useful hook for attachin

[PD-dev] how to tell when a patch is finished loading

2009-09-01 Thread Hans-Christoph Steiner
I'm playing around with some GUI behaviors, and I was wondering if anyone knows a way to tell that the patch is finished loading and 'pd' has finished sending all of the Tcl/sys_gui drawing commands. This would be a very useful hook for attaching Tcl procs for making dynamic GUI behaviors