Login  Register

Re: isOpen("path") ?

Posted by dscho on Mar 16, 2013; 6:57pm
URL: http://imagej.273.s1.nabble.com/isOpen-path-tp5002210p5002225.html

Hi Wayne,

On Sat, 16 Mar 2013, Johannes Schindelin wrote:

> function getOpenedPaths() {
> // we need to use a system property since returning values from
> // eval("script", script) is broken in ImageJ 1.47m
> unused = call("java.lang.System.setProperty", "hopefully.unused", "");
> [...]

The problem is that even after the attempt to imitate the Fiji scripting
framework by introducing the PlugInInterpreter class,
Macro_Runner#runJavaScript(String, String) still returns always null,
never an evaluated value:

https://github.com/fiji/imagej1/blob/master/ij/plugin/Macro_Runner.java#L233

sets 's', but a couple of lines later, it still just returns null in every
case.

Can you please fix that bug?

Ciao,
Johannes

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html