Re: Log window screen position
Posted by
Douglas Benn-2 on
Mar 04, 2010; 1:02am
URL: http://imagej.273.s1.nabble.com/Log-window-screen-position-tp3689125p3689127.html
Dear Ben,
Thank you for your reply which is very helpful.
Yes I am using the macro language and your code works fine for a Log window.
I also want to relocate a Dialog window but the "Title" of the Dialog window does not seem to be recognized. I think a Dialog window needs different code?
Best wishes.
Douglas
Dr Douglas K Benn, BDS, M.Phil., Ph.D., Dipl. Dental Radiology (Royal College of Radiologists, England).
Professor
Dept of General Dentistry
Creighton University Dental School
2500 California Plaza
Omaha
Nebraska 68178
Tel: (402)280 5025
Fax: (402)280 5094
-----Original Message-----
From: ImageJ Interest Group on behalf of Ben Tupper
Sent: Wed 3/3/2010 6:20 PM
To:
[hidden email]
Subject: Re: Log window screen position
Hello,
On Mar 3, 2010, at 7:01 PM, Benn, Douglas K. wrote:
> I would be grateful if someone can tell me how to set the screen
> location (0,0) for a Log Window?
>
Assuming that you are using the macro language try the following...
if (isOpen("Log")){
selectWindow("Log");
setLocation(0,0);
}
Ben