// Based on code by Michael Schmid: http://imagej.1557.x6.nabble.com/How-to-save-log-files-statistics-using-macro-help-td4999708.html // pjl 3/10/2015 10:41 AM dir = getDirectory("Choose a Directory "); list = getFileList(dir); run("Clear Results"); setBatchMode(true); row = 0; for (i=0; i