Re: Adding Action Tool icons to the toolbar
Posted by
Rasband, Wayne (NIH/NIMH) [E] on
Oct 15, 2015; 1:15am
URL: http://imagej.273.s1.nabble.com/Modifying-font-cross-size-on-ImageJ-default-plugins-tp5014603p5014637.html
On Oct 14, 2015, at 8:43 AM, PEARSON Matthew <
[hidden email]> wrote:
>
> Hi all,
>
> I've created a number of action tool macros and when i select the more tools >> icon and select the action tool it gets added with an icon to the image toolbar. I only had two icons originally which once installed always appear with a shortcut icon after restarting. However i have now added a 3rd tool but when i restart imagej i always have to go to the more tools >> menu to create the shortcut icon for the 3rd action tool as if you cannot automatically have more than 2 additional tool bar icons but i assume this isn't the case? The action tool in question is below. It does work and the icon remains after restarting if i remove one of my other action tools from the Tools folder backing up the theory that only two can be on the toolbar at one time.
The first seven custom tools are restored when ImageJ restarts. To install more, add the extra tools to the Edit>Options>Startup dialog. For example, to install your action tool, add
run("Save Action Tool”);
to the Edit>Options>Startup dialog. This assumes that a tool named “Save_Action_Tool.ijm” is in the ImageJ/plugins/Tools folder.
-wayne
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html