<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><BR><DIV><DIV>On Apr 1, 2006, at 11:25 PM, chris clepper wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">On 4/1/06, <B class="gmail_sendername">Hans-Christoph Steiner</B> &lt;<A href="mailto:hans@eds.org">hans@eds.org</A>&gt; wrote:<DIV><SPAN class="gmail_quote"></SPAN><BLOCKQUOTE class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <BR>&gt;&gt;&gt; Is there any way to query [gemwin] directly?<BR>&gt;<BR>&gt; ...currently, fps is the only message that sends an output to the<BR>&gt; outlet...what are you thinking about?<BR><BR>Rendering, 1/0, gemwin create status 1/0, lighting 1/0, etc. <BR>Basically, anything that you can set in a [gemwin].</BLOCKQUOTE><DIV><BR>The gemwin doesn't modify that info so whatever you set it to be it will be.  Why add code to tell you what you have already done?  You example patch looks to already cover that with no additional effort. <BR></DIV></DIV></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV><DIV>If you open a new patch with [gemwin_control] in it, then that object needs to get the status of any existing [gemwin] so that it will display the status correctly.  I hacked [gemwin_control] so that it handles the status querying.  It makes sense to me to instead query [gemwin] directly.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>The example here is a series of tutorial patches.  Each patch should be standalone, so that you can create/destroy the [gemwin].  But usually, the user will go thru them in a sequence.  So when you load a new patch, it should display the [gemwin] status correctly.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>It would be great if Pd itself also had a message-based system for querying the status of everything.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>.hc</DIV></DIV><BR><DIV> <P style="margin: 0.0px 0.0px 0.0px 0.0px; min-height: 14.0px"><BR></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">____________________________________________________________________________</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><BR></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">"[W]e have invented the technology to eliminate scarcity, but we are deliberately throwing it away to benefit those who profit from scarcity."</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica"><SPAN class="Apple-converted-space">                                                     </SPAN>-John Gilmore</FONT></P>  </DIV><BR></BODY></HTML>