Login  Register

Selecting the paintbrush tool in a macro

Posted by Justin McGrath-2 on Jun 03, 2009; 8:14pm
URL: http://imagej.273.s1.nabble.com/Selecting-the-paintbrush-tool-in-a-macro-tp3692289.html

I have a macro that previously used setTool(17) to select the paintbrush
tool, but some new buttons were added to ImageJ, so I had to change it from
17 to 19.  Is there a constant name that points to the paintbrush tool
similar to the ones for "freehand", "angle" etc.? "brush" selects the brush
selection tool, and not the paintbrush.

Justin