Re: Selecting/Altering Paintbrush
Posted by Jan Eglinger-2 on Nov 16, 2010; 9:49am
URL: http://imagej.273.s1.nabble.com/Selecting-Altering-Paintbrush-tp3686434p3686435.html
Hi Adam,
did you try:
setTool(19);
You can get the ID of the currently selected (macro-)tool with:
print(toolID);
However, since the Paintbrush Tool is defined in
"./macros/toolsets/Drawing Tools.txt", I don't know how to set it's
width from another macro.
Cheers,
Jan
On 16.11.10 05:07, Dr Adam Cliffe wrote:
> Does anyone know a good way of selecting the Paint Brush tool from a
> macro, and also setting its width?
> (not the brush tool)
>
> Thanks
>
> Adam