Login  Register

Re: how to modify plugin menu?

Posted by Rasband, Wayne (NIH/NIMH) [E] on Dec 19, 2015; 2:59am
URL: http://imagej.273.s1.nabble.com/how-to-modify-plugin-menu-tp5015255p5015260.html

> On Dec 18, 2015, at 11:19 AM, Shaffer, Franklin D. <[hidden email]> wrote:
>
> Can anyone point me to something that explains how to modify the plugin menu, I mean, to change where plugins show up in the plugin menu.
> I would like to create folders in the plugin menu, and move plugins links into folders.

All you have to do is create folders in the plugins folder, move plugins into them and run the Help>Refresh Menus command. This works with all types of plugins (.class, .jar, .ijm, .js, .bsh and .py), except for .jar files containing a plugins.config file that installs plugins contained in the .jar file in specific menu locations. In this case, for each plugin, use the recorder (Plugins>Macros>Record) to create a one line macro that runs the plugin and save it in one of the newly created folders.

-wayne

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html