Login  Register

How to uninstall macros?

Posted by vischer on Jul 12, 2009; 2:34pm
URL: http://imagej.273.s1.nabble.com/How-to-uninstall-macros-tp3691772.html

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