Login  Register

plugins.config and static functions with more than 1 argument

Posted by Olivier Burri on Jun 13, 2014; 8:51am
URL: http://imagej.273.s1.nabble.com/plugins-config-and-static-functions-with-more-than-1-argument-tp5008189.html

Hi all,

I've been trying to use Macro_Runner.runMacroFromJAR method inside a plugins.config file with no success

The text inside plugins.config is:
Plugins>MyFolder, "My Macro", Macro_Runner.runMacroFromJar("Something.ijm", "")

The result is that in IJ's menu I get this:
My Macro", Macro_Runner.runMacroFromJar("Something.ijm

From testing various things, it seems that static functions with more than 1 argument cannot be used. Is this correct?

All the best

Oli

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