<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>
		<title>Cycling 74  &#187;  Topic: How get arguments of objects ?</title>
		<atom:link href="http://cycling74.com/forums/topic/how-get-arguments-of-objects/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/how-get-arguments-of-objects/feed</link>
		<description></description>
		<pubDate>Thu, 20 Jun 2013 00:22:04 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/how-get-arguments-of-objects/#post-27966</guid>
					<title><![CDATA[How get arguments of objects ?]]></title>
					<link>http://cycling74.com/forums/topic/how-get-arguments-of-objects/#post-27966</link>
					<pubDate>Wed, 04 Oct 2006 14:22:01 +0000</pubDate>
					<dc:creator>Thomas Goepfer</dc:creator>

					<description>
						<![CDATA[
						<p>JS is very incredible.<br />
I can retrieve many informations of objects in a patcher and subpatchers : position, color, type, name&#8230; but how can I access to parameters of objects ???</p>
<p>Example:<br />
I have many &#8220;send~&#8221; : &#8220;send~ toto1&#8243;,&#8221;send~ toto2&#8243;,&#8221;send~ toto3&#8243;&#8230;<br />
How can I find the MaxObj of toto2 ?</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/how-get-arguments-of-objects/#post-85307</guid>
					<title><![CDATA[Re: How get arguments of objects ?]]></title>
					<link>http://cycling74.com/forums/topic/how-get-arguments-of-objects/#post-85307</link>
					<pubDate>Wed, 04 Oct 2006 16:01:47 +0000</pubDate>
					<dc:creator>radarsat1</dc:creator>

					<description>
						<![CDATA[
						<p>The arguments to send and receive objects are visible as &#8220;Global&#8221;<br />
objects in Javascript.</p>
<p>g = new Global(&#8220;toto1&#8243;);<br />
post(g);</p>
<p>I don&#8217;t know how well this works for send~ signals however.  I don&#8217;t<br />
think you can do dsp programming in javascript.</p>
<p>
Steve</p>
<p>
On 10/4/06, Thomas Goepfer
<thomas .goepfer@ircam.fr> wrote:<br />
><br />
> JS is very incredible.<br />
> I can retrieve many informations of objects in a patcher and subpatchers : position, color, type, name&#8230; but how can I access to parameters of objects ???<br />
><br />
> Example:<br />
> I have many &#8220;send~&#8221; : &#8220;send~ toto1&#8243;,&#8221;send~ toto2&#8243;,&#8221;send~ toto3&#8243;&#8230;<br />
> How can I find the MaxObj of toto2 ?<br />
></thomas></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/how-get-arguments-of-objects/#post-85308</guid>
					<title><![CDATA[Re: How get arguments of objects ?]]></title>
					<link>http://cycling74.com/forums/topic/how-get-arguments-of-objects/#post-85308</link>
					<pubDate>Thu, 05 Oct 2006 08:33:31 +0000</pubDate>
					<dc:creator>Thomas Goepfer</dc:creator>

					<description>
						<![CDATA[
						<p>Thanks, but my precedent post was not clear.<br />
I don&#8217;t just want retrieve/send value from send~.</p>
<p>A new example:<br />
I have in a patcher many send~, receive~ and &#8220;message box&#8221;:<br />
&#8220;send~ toto1&#8243;,&#8221;send~ toto2&#8243;,&#8221;send~ toto3&#8243;, &#8220;receive~ toto1&#8243;,&#8221;receive~ toto2&#8243;,&#8221;receive~ toto3&#8243;, &#8220;hello my&#8221;, &#8220;name is&#8221;, &#8220;totoetlititi&#8221;:</p>
<p>#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P window linecount 1;<br />
#P message 328 64 57 196617 totoetlititi;<br />
#P message 198 68 44 196617 name is;<br />
#P message 92 50 48 196617 hello my;<br />
#P newex 218 196 77 196617 receive~ toto3;<br />
#P newex 213 168 77 196617 receive~ toto2;<br />
#P newex 208 140 77 196617 receive~ toto1;<br />
#P newex 79 144 63 196617 send~ toto3;<br />
#P newex 74 116 63 196617 send~ toto2;<br />
#P newex 69 88 63 196617 send~ toto1;<br />
#P window clipboard copycount 9;</p>
<p>With a JS I want find the position of all this objects, and create a coll with the name of the object (send~ or receive~), its arguments (toto1 or toto2 or&#8230;), and its position (X, Y):</p>
<p>send~ &#8220;toto1&#8243; 69 88;<br />
receive~ &#8220;toto3&#8243; 218 196;<br />
send~ &#8220;toto2&#8243; 74 116;<br />
message &#8220;name is&#8221; 198 68;<br />
&#8230;</p>
<p>With the method &#8220;apply&#8221;, I can &#8220;scan&#8221; the objects. With &#8220;maxclass&#8221;, I find the name of the objects, and with &#8220;rect&#8221;, I can find the positon of all this objects. But how can I retrieve their arguments (&#8220;toto1&#8243;, &#8220;toto2&#8243;,&#8221;my name&#8221;, &#8230;) ?</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/how-get-arguments-of-objects/#post-85309</guid>
					<title><![CDATA[Re: How get arguments of objects ?]]></title>
					<link>http://cycling74.com/forums/topic/how-get-arguments-of-objects/#post-85309</link>
					<pubDate>Thu, 05 Oct 2006 16:30:52 +0000</pubDate>
					<dc:creator>Jeremy Bernstein</dc:creator>

					<description>
						<![CDATA[
						<p>I don&#8217;t believe that this is currently possible. I thought that jasch  <br />
had an external that did something like this, but I couldn&#8217;t find it.</p>
<p>jb</p>
<p>Am 05.10.2006 um 10:33 schrieb Thomas Goepfer:</p>
<p>> I have in a patcher many send~, receive~ and &#8220;message box&#8221;:<br />
> &#8220;send~ toto1&#8243;,&#8221;send~ toto2&#8243;,&#8221;send~ toto3&#8243;, &#8220;receive~  <br />
> toto1&#8243;,&#8221;receive~ toto2&#8243;,&#8221;receive~ toto3&#8243;, &#8220;hello my&#8221;, &#8220;name is&#8221;,  <br />
> &#8220;totoetlititi&#8221;:</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/how-get-arguments-of-objects/#post-85310</guid>
					<title><![CDATA[Re: How get arguments of objects ?]]></title>
					<link>http://cycling74.com/forums/topic/how-get-arguments-of-objects/#post-85310</link>
					<pubDate>Thu, 05 Oct 2006 17:10:13 +0000</pubDate>
					<dc:creator>Emmanuel Jourdan</dc:creator>

					<description>
						<![CDATA[
						<p>On 5 oct. 06, at 18:30, Jeremy Bernstein wrote:</p>
<p>> I don&#8217;t believe that this is currently possible. I thought that  <br />
> jasch had an external that did something like this, but I couldn&#8217;t  <br />
> find it.</p>
<p>Hey Jeremey,</p>
<p>You mean [posit] ? which works for listing the buffers~ and coll  <br />
names, but not the arguments.</p>
<p>Best,<br />
ej</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

