http://imagej.273.s1.nabble.com/unable-to-select-windows-if-they-have-the-same-name-tp3695409p3695412.html
predictable window names whenever possible. If you could describe a
work on improving the behavior.
> It hasn't really been a problem since I use the unique ID number as an
> identifier in all my macros and rarely use the image name. I use the
> LOCI bioformats plug-in to open my images (they are in the proprietary
> slidebook format) so I would still have to open all the images, then
> rename them. But there is no point since I use the unique ID anyways.
>
> If you pass a positive id to selectImage() - it selects the idth image
> on the window list.
>
> Turns out the selectImage() works fine with all images being the same
> name, as in the following snippet works fine ...
>
> for (i=0;i<nImages;i++) {
> selectImage(i+1);
> ids[i]=getImageID();
> }
>
> what doesn't work is when you manually try to click on the 6th image,
> only the first (of that filename) is selected.
>
> This is a problem when I am manually processing a set of images.
>
>
>
> Gabriel Landini wrote:
>> On Friday 01 August 2008 16:40:29 John Alexander wrote:
>>
>>> I just noticed that the list of images one sees when looking in the
>>> ImageJ->Window list
>>> must use the image name rather than the ID since I am unable to select
>>> any image other than the first.
>>
>> Even if it used the ID, it would quite ugly to go through a list of same-named
>> images. Is that image 123 or 124? There is too much room for doing mistakes.
>>
>>> This is now proving problematic if I have 30 images opened with the same
>>> name - and I want to manually go through them - I have no way of quickly
>>> select the 5th image manually. I have to shuffle all the windows to one
>>> side to find the one I want.
>>
>> This sounds like the Monty Python sketch where everybody is called Bruce.
>> What about something like renaming your images with the ID as you open them?
>>
>>> Not really a bug report, but, the list is rather useless as a means to
>>> select images in my particular case.
>>
>> Give every image a number or suffix and that would sort it.
>>
>>> Plus (and I have not confirmed
>>> this) it makes me wonder if the selectImage() would not work properly if
>>> I used an id that is positive.
>>
>> According to the documentation, the ID is a unique negative number.
>>
>> Cheers,
>> G.
>>
>
> --
> John K. Alexander, Ph.D.
> Post-Doctoral Fellow
> William Green Laboratory
> University of Chicago
> Dept. Neurobiology, Pharmacology, and Physiology
> 947 East 58th Street
> Abott Hall 402
> Chicago, IL 60637
> (off) 773-702-9386
> (fax) 773-702-3774
>
[hidden email]
>