Rogerio,
ImageJ Tool macros can do this. Type the following code in an editor, and
install using ctrl-i.
macro "example Tool - C000T0f12E"{
getCursorLoc(x, y, z, modifiers);
print (x,y);
}
You can read more about Tool macros from the documentation at:
http://imagej.nih.gov/ij/developer/macro/macros.html#toolsJerome.
On Fri, Nov 5, 2010 at 5:36 PM, Rogerio Hein <
[hidden email]> wrote:
>
> Dear all,
>
> I am looking for a macro commands set to get the (X,Y) coordinates at a
point selected on image, by just clicking the mouse button, after
positioning the mouse cursor on it. Could you help me? Many thanks in
advance.
>
> Rogerio
>
> --
> Luis Rogerio de Oliveira Hein
> Associate Professor
> Materials and Technology Department
> Faculty of Engineering at Guaratinguetá
> UNESP - São Paulo State University
> Brazil