|
I wuld like to select two ROIs in the manager and combine them in a
macro. What is wrong in the following code ?
newImage("test", "8-bit Black", 128, 128, 1);
makeRectangle(54, 35,10,10);
roiManager("Add");
makeRectangle(70, 70,10,10);
roiManager("Add");
roiManager("select",0);
setKeyDown("alt");
roiManager("select",1);
roiManager("Combine");
The composite macro is displayed, but I get the error : "More than one
item must be selected, or none". Using shift as a modifier leads to
the same error. Any ideas ?
Christophe Leterrier
|