Login  Register

getting data from a text window

Posted by Christopher Coulon-2 on May 10, 2014; 11:46pm
URL: http://imagej.273.s1.nabble.com/getting-data-from-a-text-window-tp5007674.html

Is there any way in a macro to get the information in a text window?  For example, I have a text window that has rows and columns just like the Results Table, and I would like to sum the data in one of the columns of the text window just as I would by using

for (i = 0; i < nResults; i++) {
        sum += getResult(“Area”, i);
}

for the Results Table.  Can this be done for a text window?

Chris Coulon
gaiag.net
--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html