Re: Saving Log window as a csv file but not a txt file

Posted by Rasband, Wayne (NIH/NIMH) [E] on
URL: http://imagej.273.s1.nabble.com/Saving-Log-window-as-a-csv-file-but-not-a-txt-file-tp5012505p5012510.html

> On Apr 16, 2015, at 8:38 AM, Tomm <[hidden email]> wrote:
>
> 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”);

Upgrade to the latest ImageJ daily build (1.49r24) and this macro code will work as expected.

-wayne

> --
> View this message in context: http://imagej.1557.x6.nabble.com/Saving-Log-window-as-a-csv-file-but-not-a-txt-file-tp5012505.html
> Sent from the ImageJ mailing list archive at Nabble.com.



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