Login  Register

Getting the name of a Text Window in a macro

Posted by Stein Rørvik on Jul 01, 2014; 1:31pm
URL: http://imagej.273.s1.nabble.com/Getting-the-name-of-a-Text-Window-in-a-macro-tp5008514.html

Does anyone know how to do do this in a macro:

1)      check if the active window is an image window or a text window or a table window

2)      get the name (title) of the active text window or table window
Everything I have tried just ignores text windows and reports the above info from the active image window.
It is ok for me to use a java snippet as long as it is callable inside a normal macro.
I can provide examples if this question is unclear.

Stein

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