I would like a bpatcher to script some things inside itself (which works fine) and then when it is done scripting I would like it to embed itself in its parent. Why do these lines of code in a js object inside the bpatcher file not work?
this.patcher.box.message("sendbox", "embed", 1);
for example, if I make a bpatcher and give it some scripting name x, I can send it this message with a thispatcher object and it will embed itself:
"script sendbox x embed 1"
so how do I do the same from within the bpatcher?