Re: Passing information to a macro from a plugin
Posted by
Gabriel Landini on
Jun 02, 2010; 10:17am
URL: http://imagej.273.s1.nabble.com/Passing-information-to-a-macro-from-a-plugin-tp3688079p3688083.html
On Wednesday 02 Jun 2010 11:12:35 you wrote:
> I can configure the plugin from the macro by using Macro.getOptions() and
> parsing the string they pass in, but what I need now is a way to return a
> value (or preferably values) from the plugin and send it back to the
> calling macro so it can be used elsewhere in the macro.
You should read the mailing list archives. I asked the same question not long
ago and there are several ways to do this.
I found this example to be enough to do what I needed:
http://rsbweb.nih.gov/ij/plugins/imp-props.htmlG