Login  Register

Re: How to creat a Distribution List via Macro plz?

Posted by Michael Schmid on May 13, 2008; 11:56am
URL: http://imagej.273.s1.nabble.com/How-to-creat-a-Distribution-List-via-Macro-plz-tp3696245p3696246.html

Hi Kashif,

the distribution window is created with HistogramWindow.java;
it's "copy" and "list" buttons cannot be addressed in a macro.

The easiest solution would be a short macro that creates an
array, and then reads all the values from the results table
and increments the numbers according to the range.

Michael
________________________________________________________________

On 13 May 2008, at 12:05, Kashif Zeeshan wrote:

> Good Morning,
>
> I want to save the distribution lists for Area, Feret’s Diameter and
> Integrated Density. I want to do these commands through a Macro. I  
> tried to
> recorded but when I click on List button, nothing happens. I read  
> the email
> which talked about this and the reply was to add the following  
> command.
>
> selectWindow("Area Distribution");
> save("myFilename.txt");
> But when I used this command, the resulting message was “This command
> requires a TextWindow such as the “Log” window or an “Info for…”  
> window.
>
> The second reply was with following command
>
> Record the File>Save As>Measurements command
>
> But the Measurements command is to save the results as a whole but  
> not the
> distribution lists.
>
> Can you kindly help me in this regard?
>
> Obliged.
>
>
> Kashif ZEESHAN
> (00 33 6 74 90 18 10)
> Doctorant, Biopesticide Group,
> Laboratoire Universitaire de
> Biodiversité et d'Ecologie
> Microbienne (LUBEM),
> 6 Rue de l'Université,
> 29334, Quimper Cedex,
> France