Login  Register

Re: Overriding the keyboard presettings - sorry, had wrong topic before

Posted by Jerome Mutterer-3 on Jul 13, 2010; 8:55am
URL: http://imagej.273.s1.nabble.com/Overriding-the-keyboard-shortcut-where-page-up-down-cause-image-to-zoom-in-out-tp3687524p3687531.html

Angelika,
you can set the 'Require control key for shortcuts' option to true, so
built-in shortcuts will require pressing e.g. 'CTRL-b' instead of just 'b'.
On the other hand, macros declaring an existing shortcut should override it,
so the students having built-in functions firing instead of their macros
probably forgot installing their macros (CTRL-i or Editor>Macros>Install
Macros)
Jerome.

------------------------------------------------------------------------
Jérôme Mutterer,
Institut de Biologie Moléculaire des Plantes du CNRS
12, rue Zimmer, 67000 Strasbourg.

On Tue, Jul 13, 2010 at 9:35 AM, A. Erhardt <[hidden email]> wrote:

> Hello,  Wayne Rasband, hello everybody of the ImageJ Interest Group,
>
> I am using ImageJ to support my lecture and lab of Digital Image Processing
> i am teaching in my Bachelors' and Masters' courses. In the lab, the
> students (among other projects) are supposed to write a program to erode and
> dilate a binary image.
> In part of this project, their program is supposed to erode, whenever the
> key with letter "a" is pressed, and to dilate whenever the letter "b" is
> pressed. Now some students have the problem, that the letter "b" is preset
> to some ImageJ function, so a window pops up that has nothing to do with
> their program. I believe that this concernes only users of Windows XP
> (including myself), but users with Windows Vista, do not seem to have the
> problem, some users with Windows 7 have the problem, others not, and Linux
> users (we had only one) do not seem to have it.
>
> Question: How can we disactivate the pre-setting of the keys in ImageJ?
> Any good idea is welcome
> Thank you very much in advance!
>
> Angelika Erhardt
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Monica Rohrschneider <[hidden email]>
> Gesendet: 12.07.2010 18:15:29
> An: ImageJ Interest Group ,[hidden email]
> Betreff: Re: Overriding the keyboard shortcut where "page up/down" cause
> image to zoom in/out
>
> >Thanks, that's good to know.  Do you know when the 1.44d daily build will
> become available?  I just checked, and I have (what I thought was) the most
> recent update, and that's the 1.44c daily build.
> >
> >Unfortunately, I'm not going to be able to use the new "Overlay" feature
> after all, though, as it draws the same image on all .tifs in the stack, and
> I want to put different labels on different images within the stack.
>  --Monica.
> >
> >
> >On 7/10/10 12:32 PM, "Rasband, Wayne (NIH/NIMH) [E]" <
> [hidden email]> wrote:
> >
> >On Jul 8, 2010, at 4:52 PM, Rohrschneider, Monica wrote:
> >
> >> I just downloaded the newest version of ImageJ, in order to use the new
> "Overlay" feature.  I had previously been using a version of ImageJ from a
> couple years ago.  In the new version, the "page up" and "page down" keys on
> my laptop (basically the up and down arrow keys) cause the image to zoom in
> or out.  Is there a way to override this keyboard shortcut?
> >>
> >> I usually view my data using the 4D Data Browser from LOCI (part of the
> "MBF ImageJ for Microscopy" collection of plugins).  This opens all my tifs
> as a virtual stack, and allows me to use the left/right arrow keys to flip
> forward and backward through time in the stack, and the up/down arrow keys
> ("page up" and "page down") to move up and down through the z-slices of the
> stack.  Right now, the up/down keys are simultaneously flipping up/down
> through the z-slices, and zooming the image in/out.  I would like to
> override the zooming, so that I can just use the arrow keys to maneuver
> through the images of the stack.  Thanks!  --Monica.
> >
> >The problem is fixed in the 1.44d daily build. ImageJ now ignores the up
> and down arrow keys when the LOCI Data Browse is running and there is no
> selection.
> >
> >-wayne
> >
> >
> >------------------------------------------------------------
> >This email message, including any attachments, is for the sole use of the
> intended recipient(s) and may contain information that is proprietary,
> confidential, and exempt from disclosure under applicable law. Any
> unauthorized review, use, disclosure, or distribution is prohibited. If you
> have received this email in error please notify the sender by return email
> and delete the original message. Please note, the recipient should check
> this email and any attachments for the presence of viruses. The organization
> accepts no liability for any damage caused by any virus transmitted by this
> email.
> >=================================
>