Re: How to uninstall macros?
Posted by
Michael Schmid on
Jul 13, 2009; 8:22am
URL: http://imagej.273.s1.nabble.com/How-to-uninstall-macros-tp3691772p3691773.html
Hi Norbert,
if you install a new macro (Plugins>Macros>Install or menu item
'install' in a text window with a macro), the old tools will be
removed and replaced by the tools in the new macro. No need for
uninstall.
On startup, ImageJ reads the macros from StartupMacros.txt in the
ImageJ/macros folder.
The rightmost tool icon with the double arrow '>>' gives you quick
access to several macro sets, e.g. the StartupMacros.
Michael
________________________________________________________________
On 12 Jul 2009, at 16:34, Norbert Vischer wrote:
> Hi List,
>
> I would like to know the file name from which the current macro set
> is loaded. Further, I look for a way to uninstall all macros that
> appear under menu Plugins>Macros>, as well as the macro tools in
> the ImageJ main window.
>
> Currently, I need to load a new macro set to clear the old one, and
> need to define new tool macros to clear the old tools. I would
> appreciate if there was a public method such as uninstallAllMacros
> (), so my plugin can guarantee a clean situation.
> Further, I was not able to obtain the name of the macro file that
> is currently active. Looking at the MacroInstaller, it would be
> nice if "MacroInstaller.fileName" would be public (Wayne, does this
> make sense?)
>
> Norbert Vischer