Login  Register

Re: Run macros/commands in Plugin

Posted by BenTupper on Nov 08, 2012; 6:23pm
URL: http://imagej.273.s1.nabble.com/Run-macros-commands-in-Plugin-tp5000744p5000748.html

Hi,

On Nov 8, 2012, at 11:20 AM, Nikolay Rogoshchenkov wrote:

> Dear all,
>
> Is it possible to run macros or command sequence from my plugin?
> I wrote the acquire plugin and would like to apply some commands.
>

Yes, you can run macros from a plugin.  Check out the documentation for IJ.runMacro and IJ.runMacroFile (look in the ij.IJ class documented here http://rsb.info.nih.gov/ij/developer/api/index.html )

Cheers,
Ben



> Thank you.
>
> --
> Rogoshchenkov Nikolay
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html

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