Login  Register

roi select two rois

Posted by Thomas Boudier on Jul 29, 2008; 10:31am
URL: http://imagej.273.s1.nabble.com/roi-select-two-rois-tp3695488.html

Hello,

I would like to write a macro that select several rois, but it seems
that the "Shift" key is not taking into account while selecting :

roiManager("Select", 1);
setKeyDown("shift");
roiManager("Select", 2);

this macro will select only roi2, while I would like roi1 and 2 to be
selected.

Any idea ? thanks.

Thomas

--
/*****************************************************/
 Thomas Boudier, MCU Université Pierre et Marie Curie
 UMR 7101 / IFR 83. Bat A 328, Campus Jussieu
 Tél : 01 44 27 35 78  Fax : 01 44 27 25 08
/*****************************************************/