Posted by
CARL Philippe (LBP) on
Nov 21, 2013; 4:14pm
URL: http://imagej.273.s1.nabble.com/Easy-way-for-modifying-Shortcuts-tp5005571p5005637.html
Hi Michael,
> the extra space for 'Fn' shortcut keys is probably meant to get the F-keys
at the top in the sorted list (it's in
> ij.plugin.CommandLister.java, line 57).
Ok thanks a lot for this explanation.
> When doing a hack like the one we are discussing here, one may easily run
into such problems; that's why I thought the other
> method with macro sets would be nicer...
On the other hand with the other method you won't see the list of Shortcuts
showing up in the list, isn't it?
> For adding a shortcut, you have to run("Refresh Menus") after deleting the
old one and *before* adding the new one.
Actually I had forgotten to precise this, but adding run("Refresh Menus")
before adding the new one won't do the trick as well and you really need to
close Fiji for the key deselection to be effective.
> And you might want a run("Close") after list = getInfo("window.contents");
otherwise the 'Keyboard Shortcuts' window will
> stay on the screen forever.
Indeed, thanks a lot.
> Michael (not Peter ;-)
Sorry for the mistake.
Best regards,
Philippe
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html