Hello all (Wayne?),

In the following macro, I 
        setMetadata("label", s) 
to three stack slices. 
Now the top of "Show Info..." correctly remains empty.
However,
        getMetadata("info") 
should remain empty, but unexpectedly returns "SliceComment3"

Best regards, Norbert

===


close("ABC");
close("Info for ABC");
print("\\Clear");
newImage("ABC", "8-bit white", 400, 100, 3);
for(slc = 1; slc <=3; slc++){
        setSlice(slc);
        setMetadata("label", "SliceComment#" + slc);
}
info = getMetadata("info");
print(info);
run("Show Info...");

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

Reply via email to