Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Hi,
I'm sitting next to a visiting colleague who can't see the Brightness & Contrast window when running ImageJ on his 64 bit Windows 7 laptop. It shows up in the Windows 7 toolbars list but isn't anywhere on the screen, even pushed way off to one or the other side. Other windows, such as Threshold, are fine. He rebooted the computer and changed the screen resolution, but the B&C window is still missing. He started with ImageJ 1.46 but downloaded the daily build of 1.47g with Java 1.6.0_20 and the problem persists. Does anyone have an idea how to fix this? Thanks! ________________________________________________________ Michael Cammer, Assistant Research Scientist Skirball Institute of Biomolecular Medicine Lab: (212) 263-3208 Cell: (914) 309-3270 -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
I suspect he may have run it last on an external monitor which is no longer present, so the location is off the screen.
This macro might help: if (isOpen("B&C")) { selectWindow("B&C"); setLocation(0,0); } (Based on this discussion http://imagej.1557.n6.nabble.com/Modify-Log-window-size-and-position-in-a-macro-td3687259.html ) Aivar On 12/20/12, "Cammer, Michael" wrote: > Hi, > I'm sitting next to a visiting colleague who can't see the Brightness & Contrast window when running ImageJ on his 64 bit Windows 7 laptop. It shows up in the Windows 7 toolbars list but isn't anywhere on the screen, even pushed way off to one or the other side. Other windows, such as Threshold, are fine. He rebooted the computer and changed the screen resolution, but the B&C window is still missing. He started with ImageJ 1.46 but downloaded the daily build of 1.47g with Java 1.6.0_20 and the problem persists. > Does anyone have an idea how to fix this? > Thanks! > > > ________________________________________________________ > Michael Cammer, Assistant Research Scientist > Skirball Institute of Biomolecular Medicine > Lab: (212) 263-3208 Cell: (914) 309-3270 > > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html ... [show rest of quote] -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
In reply to this post by Cammer, Michael
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); Regards, Michael -----Original Message----- From: Cammer, Michael Sent: Thursday, December 20, 2012 2:03 PM To: Santos, Luis Subject: FW: B&C window missing -----Original Message----- From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of Aivar Grislis Sent: Thursday, December 20, 2012 1:58 PM To: [hidden email]<mailto:[hidden email]> Subject: Re: B&C window missing I suspect he may have run it last on an external monitor which is no longer present, so the location is off the screen. This macro might help: if (isOpen("B&C")) { selectWindow("B&C"); setLocation(0,0); } (Based on this discussion http://imagej.1557.n6.nabble.com/Modify-Log-window-size-and-position-in-a-macro-td3687259.html ) Aivar On 12/20/12, "Cammer, Michael" wrote: > Hi, > I'm sitting next to a visiting colleague who can't see the Brightness & Contrast window when running ImageJ on his 64 bit Windows 7 laptop. It shows up in the Windows 7 toolbars list but isn't anywhere on the screen, even pushed way off to one or the other side. Other windows, such as Threshold, are fine. He rebooted the computer and changed the screen resolution, but the B&C window is still missing. He started with ImageJ 1.46 but downloaded the daily build of 1.47g with Java 1.6.0_20 and the problem persists. > Does anyone have an idea how to fix this? > Thanks! > > > ________________________________________________________ > Michael Cammer, Assistant Research Scientist Skirball Institute of > Biomolecular Medicine > Lab: (212) 263-3208 Cell: (914) 309-3270 ________________________________________________________ Michael Cammer, Assistant Research Scientist Skirball Institute of Biomolecular Medicine Lab: (212) 263-3208 Cell: (914) 309-3270 -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
>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
That's strange. It's working for me, topmost or not, on a Linux system. Sounds like 'selectWindow("B&C")' fails and then 'setLocation(0,0)' is working on the topmost window. Have you tried a Windows workaround like this?: http://www.howtogeek.com/howto/windows/bring-misplaced-off-screen-windows-back-to-your-desktop-keyboard-trick/ Aivar On 12/20/12, "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); > > > > Regards, > > Michael > > > > -----Original Message----- > > From: Cammer, Michael > > Sent: Thursday, December 20, 2012 2:03 PM > > To: Santos, Luis > > Subject: FW: B&C window missing > > > > > > > > -----Original Message----- > > From: ImageJ Interest Group [mailto:[hidden email]](javascript:main.compose() On Behalf Of Aivar Grislis > > Sent: Thursday, December 20, 2012 1:58 PM > > To: [hidden email]<mailto:[hidden email](javascript:main.compose()> > > Subject: Re: B&C window missing > > > > I suspect he may have run it last on an external monitor which is no longer present, so the location is off the screen. > > > > This macro might help: > > > > if (isOpen("B&C")) { selectWindow("B&C"); setLocation(0,0); } > > > > (Based on this discussion http://imagej.1557.n6.nabble.com/Modify-Log-window-size-and-position-in-a-macro-td3687259.html ) > > > > Aivar > > > > On 12/20/12, "Cammer, Michael" wrote: > > > Hi, > > > I'm sitting next to a visiting colleague who can't see the Brightness & Contrast window when running ImageJ on his 64 bit Windows 7 laptop. It shows up in the Windows 7 toolbars list but isn't anywhere on the screen, even pushed way off to one or the other side. Other windows, such as Threshold, are fine. He rebooted the computer and changed the screen resolution, but the B&C window is still missing. He started with ImageJ 1.46 but downloaded the daily build of 1.47g with Java 1.6.0_20 and the problem persists. > > > Does anyone have an idea how to fix this? > > > Thanks! > > > > > > > > > ________________________________________________________ > > > Michael Cammer, Assistant Research Scientist Skirball Institute of > > > Biomolecular Medicine > > > Lab: (212) 263-3208 Cell: (914) 309-3270 > > > ________________________________________________________ > Michael Cammer, Assistant Research Scientist > Skirball Institute of Biomolecular Medicine > Lab: (212) 263-3208 Cell: (914) 309-3270 > > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html ... [show rest of quote] -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Alternatively can't you just delete IJ_Prefs.txt? The window location is
likely stored in there. http://rsbweb.nih.gov/ij/docs/guide/146-13.html On Thu, Dec 20, 2012 at 4:42 PM, Aivar Grislis <[hidden email]> wrote: > >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 > > That's strange. It's working for me, topmost or not, on a Linux system. > Sounds like 'selectWindow("B&C")' fails and then 'setLocation(0,0)' is > working on the topmost window. > > Have you tried a Windows workaround like this?: > > > http://www.howtogeek.com/howto/windows/bring-misplaced-off-screen-windows-back-to-your-desktop-keyboard-trick/ > > Aivar > > On 12/20/12, "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); > > > > > > > > Regards, > > > > Michael > > > > > > > > -----Original Message----- > > > > From: Cammer, Michael > > > > Sent: Thursday, December 20, 2012 2:03 PM > > > > To: Santos, Luis > > > > Subject: FW: B&C window missing > > > > > > > > > > > > > > > > -----Original Message----- > > > > From: ImageJ Interest Group [mailto:[hidden email]](javascript:main.compose() > On Behalf Of Aivar Grislis > > > > Sent: Thursday, December 20, 2012 1:58 PM > > > > To: [hidden email]<mailto:[hidden email] > (javascript:main.compose()> > > > > Subject: Re: B&C window missing > > > > > > > > I suspect he may have run it last on an external monitor which is no > longer present, so the location is off the screen. > > > > > > > > This macro might help: > > > > > > > > if (isOpen("B&C")) { selectWindow("B&C"); setLocation(0,0); } > > > > > > > > (Based on this discussion > http://imagej.1557.n6.nabble.com/Modify-Log-window-size-and-position-in-a-macro-td3687259.html) > > > > > > > > Aivar > > > > > > > > On 12/20/12, "Cammer, Michael" wrote: > > > > > Hi, > > > > > I'm sitting next to a visiting colleague who can't see the Brightness > & Contrast window when running ImageJ on his 64 bit Windows 7 laptop. It > shows up in the Windows 7 toolbars list but isn't anywhere on the screen, > even pushed way off to one or the other side. Other windows, such as > Threshold, are fine. He rebooted the computer and changed the screen > resolution, but the B&C window is still missing. He started with ImageJ > 1.46 but downloaded the daily build of 1.47g with Java 1.6.0_20 and the > problem persists. > > > > > Does anyone have an idea how to fix this? > > > > > Thanks! > > > > > > > > > > > > > > > ________________________________________________________ > > > > > Michael Cammer, Assistant Research Scientist Skirball Institute of > > > > > Biomolecular Medicine > > > > > Lab: (212) 263-3208 Cell: (914) 309-3270 > > > > > > ________________________________________________________ > > Michael Cammer, Assistant Research Scientist > > Skirball Institute of Biomolecular Medicine > > Lab: (212) 263-3208 Cell: (914) 309-3270 > > > > > > -- > > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > ... [show rest of quote] -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
In reply to this post by Cammer, Michael
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 |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
In reply to this post by Cammer, Michael
On 2012.12.20, at 22:38 , Barry DeZonia wrote:
> Alternatively can't you just delete IJ_Prefs.txt? The window location is > likely stored in there. > > http://rsbweb.nih.gov/ij/docs/guide/146-13.html Just for future reference: Indeed window locations are stored in IJ_Prefs.txt, the IJ preferences file. In such a situation, you can reset ImageJ by running Edit>Options>Reset..., implemented in 1.46p. It will delete the IJ preferences file resetting all parameters to their defaults upon restart. -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Free forum by Nabble | Disable Popup Ads | Edit this page |