Re: Share variables between ijm and py macros
Posted by
ctrueden on
Dec 14, 2015; 7:23pm
URL: http://imagej.273.s1.nabble.com/Share-variables-between-ijm-and-py-macros-tp5015234p5015238.html
Hi Guillaume,
> Is there a way to exchange variables (number or images) between ijm
> and py macro ?
You can call a script from a macro using the eval function:
http://imagej.net/developer/macro/functions.html#evalRegards,
Curtis
On Mon, Dec 14, 2015 at 7:17 AM, Guillaume Azarias <
[hidden email]
> wrote:
> Hi all,
>
> Is there a way to exchange variables (number or images) between ijm and py
> macro ?
>
> For instance, I want to measure a time (t) in an ijm macro, use this
> variable in a Python macro, and send the results of the Python macro to the
> initial ijm macro.
>
> Any idea ?
>
> Best,
>
> Guillaume
>
> --
> ImageJ mailing list:
http://imagej.nih.gov/ij/list.html>
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html