Re: B&C window missing
Posted by
dscho on
URL: http://imagej.273.s1.nabble.com/B-C-window-missing-tp5001234p5001253.html
Hi Michael,
On Thu, 20 Dec 2012, Cammer, Michael wrote:
> We think the problem is precisely the external monitor issue but these
> commands do not operate on the B&C window even if there are no other
> windows open. If there are other windows open, then the topmost window
> that isn't B&C is relocated.
>
> selectWindow("B&C");
>
> setLocation(0,0);
The macro language is really only meant to work with very simple image
processing workflows and cannot be easily made into a full-fledged script
language.
Try this Javascript code instead:
importClass(Packages.ij.WindowManager);
WindowManager.getWindow("B&C").setLocation(0, 0);
Ciao,
Johannes
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html