Macro
Posted by Gib Bogle on Feb 04, 2007; 9:21pm
URL: http://imagej.273.s1.nabble.com/Macro-tp3700405.html
This is a very basic question. When I run a method in a macro, how do I
access the results?
The specific example I'm interested in is Measure. If I do this:
run("Measure");
a Results window pops up with columns Label, Area, Mean, StdDev, Min,
Max. I want to get at these result values in the macro, i.e. I want to
be able to do something like
intensity = Results.Mean;
The other thing I'd like to do is suppress the Results window display.
Basic information of this sort must be obtainable from the various macro
examples, but I looked at quite a few without success. Is there a
central resource for programming info of this kind?
Thanks very much
Gib