XML Feeds

.

[javascript-dev] procedurally counting named objects inlets and outlets

Jeremy Bernstein jeremy at bootsquad.com
Fri Oct 12 02:04:50 MDT 2007


You can't do this in Max 4.

jb

Am 12.10.2007 um 07:46 schrieb vade:

>
> Hello
>
> say I have an object in a patcher name "thing". I do know  
> necessarily know how many inlets and outlets "thing" has because  
> "thing" is a patcher module loaded off of disk and could be CRAZY  
> and have like, lots and lots of inlets and outlets.
>
> I would like to query "thing" to know how many inlets and outlets  
> "thing" has.
>
> How does one do that?
>
> var thing=this.patcher.getnamed("thing");
>
> what method to thing can I now call to return the number of inlets  
> and outlets?
>
> I checked the docs, so forgive me if ive missed this one.


More information about the javascript-dev mailing list