Re: about macro
Posted by
donny008 on
Jun 26, 2009; 5:54am
URL: http://imagej.273.s1.nabble.com/about-macro-tp3691848p3691849.html
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