Login  Register

Re: about macro

Posted by Pavita on Jul 09, 2009; 4:25am
URL: http://imagej.273.s1.nabble.com/about-macro-tp3691848p3691850.html

Thank you Donny George, for your answer

now, i can open many image and process with it but i still cannot save  
summarize window.
from this command --->

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?

it's not Results window.

regard,

Pavita


On Jun 26, 2009, at 12:54 PM, Donny George wrote:

> hello i will try to help with the knowledge i have
>
>
> //to open a folder and then process each object within the folder
> function convert(format);
>        dir1 = getDirectory("Choose Source Directory ");
>    list = getFileList(dir1);
>
> for (i=0; i<list.length; i++)
>        {
> //set true to avoid opening all the images
> setBatchMode(true);
> showProgress(i+1, list.length);
>        open(dir1+list[i]);
>
>
> }
> //to save the results window as an excel file
> selectWindow("Results");
> saveAs("Measurements", "");
>
>
>
> On Thu, Jun 25, 2009 at 9:34 PM, Pavita Tipsombatboon <
> [hidden email]> wrote:
>
>> Hi, all
>>
>> i want to write macro that can
>>
>> -open all image file in folder -> i don't know command that open  
>> many image
>> file in folder
>>
>> -analyze particle in each image -> i write already.
>>
>> -save summarize window result from analyze particle -> i don't know  
>> command
>> that save summarize window and rename it automatic for save in  
>> another
>> folder.
>>
>>
>> i should be study about command of macro from where? anyone can  
>> suggest me
>> (some web or some book) ?
>>
>>
>> Regard,
>>
>> Pavita
>>
>
>
>
> --
> Donny George