Login  Register

Setting "Restore ROIs Centered" option in ROI manager in a macro?

Posted by HoweLab on Mar 16, 2010; 8:44pm
URL: http://imagej.273.s1.nabble.com/Setting-Restore-ROIs-Centered-option-in-ROI-manager-in-a-macro-tp3688944.html


I am trying to toggle the “More>>Options…Restore ROIs Centered” option in the middle of a macro, but cannot seem to do it. I've tried the following lines:

roiManager(“Options…”, “Restore ROIs Centered”);

and

run(“Options…”, “Restore ROIs Centered”);

plus a bunch of other options (e.g. ("Options...", restoreCentered), etc), all to no avail. I also tried running the Macro recorder and toggling the option on or off, but absolutely nothing registers on the recorder. That’s what really threw me. Any advice is greatly appreciated.

Best wishes,
Alan