Is it possible to set a hint-text for js-object outputs?

Dec 22, 2012 at 4:31pm

Is it possible to set a hint-text for js-object outputs?

I see i can define multiple outlets for a js-object, is it possible to set their hint-texts?

#65788
Dec 22, 2012 at 6:07pm

This can be done using the setoutletassist function.
Example from the docs:
function describe_it(num)
{
assist(“this is outlet number”,num);
}
// global code to set it up
setoutletassist(-1,describe_it);

To set each outlet individually, you could simply write more than one ‘describe_it’ functions, and map each one to a specific outlet number (rather than using -1 as the outlet number from the docs example)

More info can be found at the bottom of this page: http://cycling74.com/docs/max6/dynamic/c74_docs.html#jsglobal

#236945

You must be logged in to reply to this topic.