<html>
    <head>
      <base href="http://fiji.sc/bugzilla/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - saveAs("Results", "...") does not work"
   href="http://fiji.sc/bugzilla/show_bug.cgi?id=987#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - saveAs("Results", "...") does not work"
   href="http://fiji.sc/bugzilla/show_bug.cgi?id=987">bug 987</a>
              from <span class="vcard"><a class="email" href="mailto:tokamoto@biosearchtech.com" title="tokamoto@biosearchtech.com">tokamoto@biosearchtech.com</a>
</span></b>
        <pre>I found that if you try and saveAs immediately after printing the last line,
the command fails to run, but doesn't throw an error.  If you wait ~50 ms or
use the selectWindow command it'll save correctly.

Unfortunately, I can't write directly to the results table. I'm saving multiple
sets of results and need a permanent place to store this data.  

As a workaround, I found that saving as "Text" format works; it outputs a .txt
file, not a .csv file as I would have preferred, but the extension can easily
be changed.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>