Posted by
Jerome Mutterer-3 on
Mar 16, 2017; 7:53am
URL: http://imagej.273.s1.nabble.com/Hexadecimal-Code-and-image-tools-tp5018295p5018322.html
Hi,
I think you're mixing up two different things here.
1- The C000T0f18B that is part of the macro name is the instructions set
for drawing the tool's icon and these instructions are described here:
https://imagej.nih.gov/ij/developer/macro/macros.html#icons as Michael
originally relied.
2- A separate thing is the code that is run when you use the tool by either
click on the tool for an Action Tool, or clicking in the image for a
standard Tool. This code is defined between the main set of curly braces in
the macro definition, just after the macro name. In the example I sent,
run("Make Binary"); is the code that is run and that calls the Make Binary
command.
Jerome.
2017-03-15 17:17 GMT+01:00 P Roman <
[hidden email]>:
> Hi Jerome,
>
> Thank you very much for the information. But where did you find the binary
> action tool code (I mean "C000T0f18B")? That's what I want to know in order
> to install any command on the StarupMacros, so I can run any command that I
> wish just by clicking on its tool button.
>
> Regards
>
>
>
>
> --
> View this message in context:
http://imagej.1557.x6.nabble.
> com/Hexadecimal-Code-and-image-tools-tp5018295p5018315.html
> Sent from the ImageJ mailing list archive at Nabble.com.
>
> --
> ImageJ mailing list:
http://imagej.nih.gov/ij/list.html>
--
Jerome Mutterer
CNRS - Institut de biologie moléculaire des plantes
12, rue du Général Zimmer
67084 Strasbourg Cedex
www.ibmp.cnrs.fr
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html