XML Feeds

.

[javascript-dev] Send a list to a named bpatcher

Stefan Tiedje Stefan-Tiedje at addcom.de
Sun Feb 3 09:27:47 MST 2008


Hi list,

I am stuck with a seemingly simple problem, which isn't explained 
clearly enough in archives/docs/examples for me.

I want to send a list to a named bpatcher in my patch.
How do I have to notate it. I tried the following:

var Editor = this.patcher.getnamed("Editor");

function list()
{
	var a = arrayfromargs(arguments);
	Editor.message("list",a);
}

Throws a "patcher doesn't understand "list"" error in the Max window

I guess its talking to the bpatcher object instead of my patcher loaded 
into the bpatcher. How do I access my bpatcher correctly?

Stefan

-- 
Stefan Tiedje------------x-------
--_____-----------|--------------
--(_|_ ----|\-----|-----()-------
-- _|_)----|-----()--------------
----------()--------www.ccmix.com



More information about the javascript-dev mailing list