Re: unable to select windows if they have the same name
Posted by Gabriel Landini on Aug 11, 2008; 11:08pm
URL: http://imagej.273.s1.nabble.com/unable-to-select-windows-if-they-have-the-same-name-tp3695409p3695413.html
On Monday 11 August 2008, Curtis Rueden wrote:
> Though I do recommend programming with image IDs rather than names in
> your macros, I still think that Bio-Formats should generate unique but
> predictable window names whenever possible. If you could describe a
> circumstance where you are seeing all identical window names, we can
> work on improving the behavior.
Now that you brought the issue of names and IDs...
Although IDs seem to handle images faster than names, some plugins expect
image names. Is there a shortcut to use IDs instead?
For instance, the image calculator expects names. Can the IDs be used in these
cases without having to invoke getTitle(selectImage(ID)) or something like
that? (not sure the syntax is correct, btw).
Cheers
G.