Login  Register

Re: How to return a value from a plugin to a macro?

Posted by Michael Schmid on Oct 16, 2009; 12:34pm
URL: http://imagej.273.s1.nabble.com/How-to-return-a-value-from-a-plugin-to-a-macro-tp3690723p3690725.html

Hi Gabe,

there are several possibilities:

- have a static method of your plugin that returns a String. You can  
access it by the call macro function
- via the Results Table
- by setting pixels in an image created for this putpose (if you want  
to access an array)
- via a file

Michael
________________________________________________________________

On 16 Oct 2009, at 14:20, gabejackson wrote:

> I've been searching around for this a bit and can't find anything.
>
> How can i return a value from a plugin to a macro? I've got a lot of
> analysis plugins and would like to perform various things with the  
> return
> values in a macro.
>
> thanks in advance
>
> Gabe