> I am trying to determine if it is possible to move a non-image window
> within a macro. the setLocation(x,y) function will only move an image
> window and it would be helpful to be able to set a location for
> non-image
> windows (ROI Manager and Window/Level especially) so that they do
> not get covered up.
The description of the setLocation(x,y) function at
http://rsb.info.nih.gov/ij/developer/macro/functions.html#setLocationsays that it is not limited to image windows if you are running ImageJ
1.39e or later. As an example, this macro
if (isOpen("ROI Manager")) {
selectWindow("ROI Manager");
setLocation(0,0);
}
moves the ROI Manager to the upper left corner of the screen.
-wayne