Login  Register

Re: macro set in plugin folder, possible?

Posted by Wayne Rasband on Sep 29, 2009; 2:30pm
URL: http://imagej.273.s1.nabble.com/Re-macro-set-in-plugin-folder-possible-tp3690970.html

 > Hi all,
 >
 > I wrote a macro that is actually a macro set (i.e. 3 macros
 > in sequence). It has to be written as a macro set because I
 > have some global variables that have to pass between the
 > individual macros, and if necessary be changed by the
 > middle macro.
 >
 > I've been able to install and run them properly by
 > replacing the StartUpMacros.txt with my own version, i.e.
 > the 3 macro show up in the macro section. However, I would
 > like to place them in a more obvious and dedicated menu.
 > I've tried putting the macro inside a folder in the plugin
 > directory but only the first macro in the macro set is
 > shown. Any idea how can I solve this issue?
 >
 > Help will be much appreciated, Bruno

Macro sets are always installed into the Macros submenu at the top of
the Plugins menu. You can add a macro set to the macros installed in
that menu at startup by appending it to StartupMacros.txt. Or copy the
macro set to to the ImageJ/macros/toolsets folder and it will be listed
in the toolbar's ">>" menu. Select it from the ">>" menu and the macros
in it will be installed in the Plugins>Macros menu.

-wayne