Login  Register

Re: Saving log data

Posted by arnim.jenett on Nov 19, 2008; 2:08pm
URL: http://imagej.273.s1.nabble.com/Saving-log-data-tp3694475p3694476.html

Hi Karel,
check out this page and search for "print", "selectWindow" and "saveAs".

print("\\Clear"); //empties the Log
//- maybe you want to do this before you do your measurements, so you just save these and not the whole session log.

selectWindow("Log");  //select Log-window
saveAs("Text", "[path/filename]");

Voila,
aRnim


Karel Jansseune wrote
Dear list users,

I would like to save my results and the log file of my measurements into
one excel file.
So far I have managed to save the results in an excel file
(with "getResults("Column",row)), but i can't manage to save the log file
to the same excel file.

Is there a simple way to save all the date from the log file into an
existing excel file.

Thanks for the help,

best regards,

Karel Jansseune