|  | 
		On Tuesday 12 December 2006 10:41, Simon Roussel wrote:
> Hi,
 > In the macro language, getResult("Column", row) requires that "Column" is a
 > "Results" window column label, such as "Area", "Mean" or "Circ.".
 > It means one must know what has been measured.
 > Is there a way to "get" the measurements column labels ?
 > Otherwise, it would be nice if "Column" could be the column index.
 
 
 selectWindow("Results");
 text = getInfo();
 lines = split(text, "\n");
 columns = split(lines[0], "\t");
 
 if (columns[0]==" ")
 columns[0]= "Number";
 
 
 The array "columns[ ]" contains the column labels.
 
 Regards,
 
 Gabriel
 
 |