Saving Log window as a csv file but not a txt file
Posted by Tomm on Apr 16, 2015; 12:38pm
URL: http://imagej.273.s1.nabble.com/Saving-Log-window-as-a-csv-file-but-not-a-txt-file-tp5012505.html
Hi all,
I want to save a text of Log window as a csv file.
But the txt file was saved.
How can I change the extension from txt to csv?
Here is my macro code.
--
dir = getDirectory("Choose a Directory");
name = "test";
print("10"+","+"20");
saveAs("Text", dir +name + ".csv");
--
Thanks,
Tomm