我想将菜单项添加到本机JMP平台,而不必将其包装在大纲框中或类似的内容中。
像下面
Names default to here(1);
dt = open("$SAMPLE_DATA\Big Class.jmp");
biv = dt << Bivariate(Y(:height), X(:weight));
bivr = report(biv);
bivr << Set Menu Script({"something", print("something")});
//doesn't work unless I do this and then it gets rid of all of the native platform scripts
bivr << Set Scriptable Object(Empty());
//I want to be able to do something like
bivr << Add Menu Script(index, "name", script);