Posted by
Wayne Rasband on
Sep 20, 2005; 8:22pm
URL: http://imagej.273.s1.nabble.com/Problems-converting-macro-to-plugin-tp3704833p3704836.html
> I want it as a plugin so that it will be available when
> ImageJ is started up. Macro's have to be installed each time
> you start up. I am also going to distribute this to a number
> of people who are not computer literate to the same extent
> that I am and installing a macro each time will not make
> life easy.
Macros contained in a file named "StartupMacros.txt" in the macros
folder are automatically installed when ImageJ starts up. In addition,
macros in the plugins folder, or subfolder, with an "_" in their name
are treated like plugins and are also installed when ImageJ starts up.
More information about macros is available at
"
http://rsb.info.nih.gov/ij/developer/macro/macros.html".
-wayne
> Kind regards
>
> Geoff Nelson
>
> Buckman Laboratories
> South Africa
> Cell +27 (0)82 654 4093
> Phone +27 (0)31 736 8827
> Fax +27 (0)31 736 1010
> ----- Original Message -----
> From: "Gabriel Landini" <
[hidden email]>
> To: <
[hidden email]>
> Sent: Tuesday, September 13, 2005 5:24 PM
> Subject: Re: Problems converting macro to plugin
>
>
> > On Tuesday 13 September 2005 14:46, Geoff Nelson wrote:
> >> I have recorded a macro and am trying to convert it to a plugin.
> The goal
> >> is to take a scanned image that has some light coloured parts on a
> black
> >> background and determine the total area and average size. The
> variable
> >> that
> >> we are trying to monitor changes through the process. The macro runs
> >> perfectly but I cannot get it converted to a macro. I am not a Java
> >> programmer and so have no idea what is wrong. Can someone please
> help.
> >
> > Perhaps this is not what you want to hear, but if it runs fine and
> quick
> > enough, why don't you just run it as a plugin?
> > Why do you need a plugin instead of a macro?
> >
> > Cheers,
> >
> > Gabriel