Select an image containing a specific word in its title in a macro

Hi all, I have many images opened in ImageJ that I will analyze.

I want first to correct channel 0, how I can tell the macro to select this specific window.
Then, I want ImageJ to pick up another image called “membrane” to do some substraction.
and so on…

How I can tell the macro to select a window containing a specific string?

Hi @mvizoso ,

you can select the image with the title “membrane” like this: