Login  Register

run("New... ", "name="+name+" type=Table");

Posted by Simon Roussel on Jun 05, 2008; 4:14pm
URL: http://imagej.273.s1.nabble.com/run-New-name-name-type-Table-tp3696007.html

Dear All,
In a macro, one can construct a "table text file", with column headings and
then print texts (Unless the Result table which accepts text only in the
first column with a "Label" heading), usin things like:
   run("New... ", "name="+f+" type=Table");
   print(f,"\\Headings:<tab-delimited list>");
   print(f, "something \t etc");

From the "news" below, I expected to be able to save and later reopen my
table, with columns, headings and text:

1.38r, 11 May 2007
    * Added the File>Import>Results command, which opens an ImageJ Results
table, or any tab or comma-delimited text file. This command is based on
Jerome Mutterer's Import_Results_Table macro.

But, if I do File>Import>Results, texts are replaced by "NaN", and if I do
File>Import>Text File, I do not get "columns" with headings, but only a
simple text file, with the headings in the first line.

Did I missed something ? Is there a way to reopen my text table containing
texts with columns and headings ?

Thanks
Simon