Login  Register

Re: Unexpected Analyze Particles behavior

Posted by Michael Schmid on Jul 27, 2015; 1:41pm
URL: http://imagej.273.s1.nabble.com/Unexpected-Analyze-Particles-behavior-tp5013680p5013757.html

On Jul 23, 2015, at 00:04, Andrew Sanchez wrote:

> Is there a way to at least change
>
> selectWindow("Summary");
> saveAs("text", dir1+"green.txt");
>
> so that instead of overwriting the file named "green.txt" it will append the
> results to the file?


Hi Andrew,

to append the Results Table, you could try the following:

  // There should be no table named "Results" at this point
  IJ.renameResults("Summary","Results");
  String.copyResults;
  string = String.paste;
  File.append(string, dir1+"green.txt")

Michael

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