Re: Why are images automatically renamed?
Posted by Gabriel Landini on Oct 07, 2010; 7:45pm
URL: http://imagej.273.s1.nabble.com/Why-are-images-automatically-renamed-tp3686678p3686690.html
On Thursday 07 October 2010 20:31:48 Cammer, Michael wrote:
> Every image has a unique identifying number. Therefore, in macros, I never
> use the selectWindow() command. Each time a window is opened, the macro
> uses getImageID() to make sure that names don;t cause a conflict.
Yes the ID is very handy, but unfortunately that is not a solution for all
cases. One also has to rely on getTitle() so the image can be operated by many
(the majority? all?) plugins because they do not accept an ID as an argument.
Cheers
Gabriel