disabling (and re-enabling?) shortcuts
Posted by
Kenneth Sloan-2 on
May 13, 2016; 5:11am
URL: http://imagej.273.s1.nabble.com/disabling-and-re-enabling-shortcuts-tp5016418.html
One of my customers complains that accidental keypresses do strange things.
Is there a way to disable *all* keyboard shortcuts under Java plugin control?
I’d like to simply make them all “do nothing”.
It would be nice to restore them on plugin exit - but that would be a frill. This user
would be happy to simply re-start Fiji.
Can I globally require control (command) to access keyboard shortcuts? That would solve the problem. Even better if I could turn this on/off on the start/exit of my plugin.
I suppose the brute force way to do that would be to write a macro for every keypress, with an empty action. I’m hoping for something cleaner.
--
Kenneth Sloan
[hidden email] <mailto:
[hidden email]>
Vision is the art of seeing what is invisible to others.
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html