<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">You can set the receive-name of all iem-guis.<br><br>Also, see [maxlib/remote] *<br><br>-Jonathan<br><br>* I found this using my "Object Search" path.<br><br>--- On <b>Fri, 11/26/10, Andrew Faraday <i>&lt;jbturgid@hotmail.com&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Andrew Faraday &lt;jbturgid@hotmail.com&gt;<br>Subject: [PD] non-logical receives<br>To: pd-list@iem.at<br>Date: Friday, November 26, 2010, 11:47 PM<br><br><div id="yiv1603673063">

<style><!--
#yiv1603673063 .yiv1603673063hmmessage P
{
margin:0px;padding:0px;}
#yiv1603673063 .yiv1603673063hmmessage
{
font-size:10pt;font-family:Tahoma;}
--></style>
Hey All<div><br></div><div>This might be a simple problem, but I can't see a way around it.</div><div><br></div><div>I'm making a patch involving a grid of toggles (each in an abstraction, so they can have rules to control them individually, also to relay this grid to a grid of squares in gem). Basically I've already set up [s $1-$2-state], in each to send it's position to a named bus. I've also got r $1-$2-control to control each toggle remotely, but that's aside.&nbsp;</div><div><br></div><div>I can use messages and non-logical sends to generate control messages, like so:</div><div><br></div><div>[pack f f f]</div><div>|</div><div>[$1-$2-control $3 (</div><div><br></div><div>Which can change any of the toggles on my grid.&nbsp;</div><div><br></div><div>So far, all well and good.</div><div><br></div><div>======</div><div>However</div><div>======</div><div><br></div><div>What I really need is for each abstraction to be 'aware' of it's neighbors. So while
 each one has two arguments, (it's co-ordinates on the grid), I need them to have receives based on it's arguments and some arithmetic. I could generate the right string for this like</div><div><br></div><div>[$1] &nbsp; &nbsp; [$2]</div><div>| &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;|</div><div>[+ 1] &nbsp; [+ 1]</div><div>| &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;|</div><div>[pack f f]&nbsp;</div><div>|</div><div>[$1-$2-state(</div><div><br></div><div>But I don't know of an object I can set like this. I can't find a receive which can be set with a message (in the same way that the non-logical sends can be made in a message box, it's all very perplexing).</div><div><br></div><div>As ever, help would be appreciated</div><div><br></div><div>Andrew&nbsp;</div>                                               
</div><br>-----Inline Attachment Follows-----<br><br><div class="plainMail">_______________________________________________<br><a ymailto="mailto:Pd-list@iem.at" href="/mc/compose?to=Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br></div></blockquote></td></tr></table><br>