Selecting the paintbrush tool in a macro

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Selecting the paintbrush tool in a macro

Justin McGrath-2
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