XML Feeds

.

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

vade doktorp at mac.com
Thu Oct 11 23:46:22 MDT 2007


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