Michael -

Thank you so VERY much.  You just made my day.

kind regards,
- Jim



Date:    Mon, 8 Apr 2024 17:38:01 +0200
> From:    Michael Schmid <[email protected]>
> Subject: Re: setTool("floodFill")


> Hi Jim,


> you can use setTool with a numeric argument.

E.g. if the flood filler is number 18, use

   setTool(18)

You can check which tool you have with, e.g.,
>    setTool(18);
>    print(IJ.getToolName());


> Michael

________________________________________________________________

On 08.04.24 16:28, Jim Quinn wrote:
> Thank you in advance.
>
> I would like to have a keyboard shortcut for:
> setTool("floodFill")
> akin to this:
>    macro "Rectangle [6]" {setTool("rectangle")}
>    macro "Elliptical [7]" {setTool("elliptical")}
>    macro "Copy to System [8]" {run("Copy to System")}
>    macro "Tool FloodFill [9]" {setTool("floodFill")}
>
> Any assistance is greatly appreciated.
>
> thanks and kind regards,
> - Jim

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

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

Reply via email to