Re: Modify Log window size and position in a macro?
Posted by dscho on
URL: http://imagej.273.s1.nabble.com/Modify-Log-window-size-and-position-in-a-macro-tp3687259p3687261.html
Hi Bill,
On Sat, 14 Aug 2010, Bill Mohler wrote:
> I would like to resize and relocate the Log window in a macro. Is there
> a simple command I'm missing? Or do I need to write and call a little
> plugin?
You could run this little Javascript, too:
-- snipsnap --
frame = WindowManager.getFrame("Log");
if (frame != null) {
frame.setSize(240, 280);
frame.setLocation(100, 0);
}