Login  Register

[solved] Re: Calling a PlugInFilter with a custom arg string from a macro

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

Oh, I more or less accidentally found a solution.  Although not elegant, it works:

call("ij.IJ.runPlugIn",
     "${MY_PLUGIN}",
     "${MY_ARGUMENT_STRING}");

I just didn't consider call() before because it requires a static method,
runPlugIn() is exactly this.

Nevermind,
Daniel

--
Daniel Hornung

Biomedical Physics Group
Max-Planck-Institute for Dynamics and Self-Organization
Bunsenstr. 10
D-37073 Goettingen

(+49) 551 5176 368