Re: about macro
Posted by
Pavita on
Jul 09, 2009; 9:58am
URL: http://imagej.273.s1.nabble.com/about-macro-tp3691848p3691852.html
Thank you Jan,
I can save summary window to .xls file. but i think
selectWindow("Summary");
close();
doesn't work, because i cannot close summary window for recalculate in
next image.
Because i want to recalculate other image in folder,So i must clear
previous data before recalculate.
How to clear data on Summary window?
Regard,
Pavita
On Jul 9, 2009, at 4:19 PM, Jan Eglinger wrote:
> Hi Pavita,
>
>
> Pavita Tipsombatboon wrote:
>> run("Analyze Particles...", "size=0-Infinity pixel
>> circularity=0.00-1.00
>> show=Outlines summarize");
>>
>> How to select,save as or clear summarize window from this process?
>>
>
> did you try to run
> selectWindow("Summary");
>
> before saving the window as text file:
> saveAs("Text", "/path/to/your/folder/"+"filename.xls");
>
> or to close the window:
> selectWindow("Summary");
> close();
>
>
>
> Hope that helps,
> Jan