XML Feeds

.

[javascript-dev] array of newobject of type "Number Box"

volker böhm vboehm at gmx.ch
Mon Dec 3 10:30:42 MST 2007


On 03 Dec 2007, at 17:39, Liam Donaghy wrote:

>
> Hi,
>
> I am trying to dynamically create an array of objects and this  
> works fine for toggle, e.g
>
> a = patcher.newobject("toggle",122,90,15,0);
>
> but how do you create a newobject for "Number Box" as it fails e.g
>
> a = patcher.newobject("Number Box",122,90,15,0);

try "number" instead.
and you will need some more arguments.
to find out about the format you can open a max patch as text and  
inspect the argument list of the objects.
vb




More information about the javascript-dev mailing list