Re: Automatic start of a plugin
Posted by
Michael P Ellis on
Mar 31, 2011; 1:05pm
URL: http://imagej.273.s1.nabble.com/Automatic-start-of-a-plugin-tp3685199p3685200.html
You can use the StartupMacros.txt file to automatically run macro commands when ImageJ launches.
See:
http://rsbweb.nih.gov/ij/developer/macro/macros.htmlDefine a macro AutoRun in this file to launch your plugin MyPlugin
macro "AutoRun" {
showMessage("Hi", "Hello");
run ("MyPlugin");
}
Hope this helps
-- Michael Ellis
On 31 Mar 2011, at 13:44, Amelie Marzin wrote:
> Hi,
>
> I am currently writing a plugin for ImageJ. This plugin is like a toolbar from where I launch some other plugins or macros.
> A great functionality would be to automatically launch my plugin when I start ImageJ. Is there a way to do so?
>
> Thanks,
>
> Amélie