Login  Register

Re: ImageJ window - Always on Top!

Posted by Christian Lutz on Sep 04, 2008; 3:40pm
URL: http://imagej.273.s1.nabble.com/ImageJ-window-Always-on-Top-tp3694763p3694771.html

Am 04.09.2008 um 15:37 schrieb Wayne Rasband:

> On Sep 4, 2008, at 3:30 AM, Ved Sharma wrote:
>
>> Hi,
>>
>> Is there a way to keep the ImageJ main window "always on Top" of  
>> other
>> applications in Windows XP?
>
> You can do this using a one line Javascript program (requires ImageJ  
> 1.41):
>
>    IJ.getInstance().setAlwaysOnTop(true);
>
> To test it, copy the line above to the clipboard, switch to ImageJ,  
> type shift+n (File>New>Text Window), type ctrl+v (Edit>Paste), then  
> type ctrl-j (Macros>Evaluate Javascript). Use the Edit>Zap Gremlins  
> command if you get an "illegal character" error.
>
> To create and "Always on Top" command, save the script in the  
> plugins folder as "Always_on_Top.js", restart ImageJ and there will  
> be an "Always on Top" command in the Plugins menu.
>
> To have ImageJ run this command when it launches, add the following  
> to the beginning of the ImageJ/macros/StartupMacros.txt file:
>
>   macro "AutoRun" {
>      run("Always on Top");
>  }
>
> -wayne


Hello,

some years ago, I used windows and I remember, that in the case you  
having installed a NVIDIA card, that there was an option to
set in the setup, so you could use it similar to linux. (Shortcut)

(eg. select window, press shortcut -> window stays on top)

christian