Login  Register

Re: Calling a PlugInFilter with a custom arg string from a macro

Posted by dscho on Nov 02, 2009; 3:20pm
URL: http://imagej.273.s1.nabble.com/Calling-a-PlugInFilter-with-a-custom-arg-string-from-a-macro-tp3690592p3690594.html

Hi,

On Mon, 2 Nov 2009, Daniel Hornung wrote:

> the subject nearly says it all.

I haven't tried this, but this could work:

        call("ij.IJ.runPlugIn", "class.name", arg);

(it might fail due to returning an Object rather than a String, in which
case you will have to resort to using Javascript or any other scripting
language.)

Ciao,
Johannes