Hi,
I am trying to create a very simple macro and I am stuck at a certain point. Can someone please help me? Thanks in advance!
I start by opening 2 images by hand. Then I would like to start the Macro.
The fist image is always called:
“089 - Composite (RGB).tif”
(whereas the numbers change, for the example I used 089)
The second image is called
“086 - Composite (RGB).tif (green) SNc_left”
For that second image, the term after green changes, which means, the region I am looking at changes.
I would like to process the images further and would like to choose between those two images. As the second name includes the first it shouldnt be so difficult to give them 2 variables, but I don’t find the right command. I was thinking about something like that by using a placeholder, does a placeholder for strings exist?
a = getTitle();
selectWindow(a+" (green)+"%s");
b = getTitle();
Thanks a lot for your help!