[javascript-dev] Javascript documentation.
Emmanuel Jourdan
c74-mailinglists at e--j.com
Tue May 20 01:20:51 MDT 2008
- Previous message: [javascript-dev] Javascript documentation.
- Next message: [javascript-dev] Javascript documentation.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 20 mai 08, at 08:42, Stefan Tiedje wrote:
> I wanted to find out about the patcher method "newobject" for
> scripting, and unfortunately the example in the old JavascriptInMax
> pdf has an example which doesn't help too much...
You can use the send message. Then the syntax will be the same as the
one demonstrate in the "Making new objects" subpatcher of the
thispatcher help file. For instance:
this.patcher.message("script", "newobject", "comment",
"@varname", i + "_unitlabel",
"@presentation_rect", 280, y, 130, 20,
"@patching_rect", 280, y, 130, 20,
"@presentation", 1,
"@text", ppList[i].unit,
"@fixwidth", 1
);
ej
- Previous message: [javascript-dev] Javascript documentation.
- Next message: [javascript-dev] Javascript documentation.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
