Posted by
Dita Vizoso on
Aug 11, 2010; 12:50pm
URL: http://imagej.273.s1.nabble.com/how-to-add-shortcuts-in-a-plugin-tp3687272.html
Hi there,
I would like to be able to change the attributes of a plugin directly from
the keyboard, so I would like to be able to add the command for using the
particular keys within the plugin code. Have searched in the plugin
reference literature but found no such thing. It may well be that it is
there and I didn't find it (my Java skills are extremely limited) or it is
just not possible.
My particular problem is that I use the (excellent) plugin Microscope Scale
in order to measure areas in series of pictures taking from single
specimens. The different structures are pictured at different scales, so I
have to change the scale via clicking (I already have a shortcut for the
plugin). It adds up annoyingly, as we work through hundreds of stacks...
I've patched the problem by creating one plugin for each scale, but this
makes changing the set of scales (we work with different microscopes)
cumbersome, so I was wondering if there was a more elegant way of solving
the problem.
Thanks a million in advance,
Dita
--
---------------------------------------------------------------
Dita B. Vizoso
Zoologisches Institut der Universität Basel
Evolutionsbiologie
Vesalgasse 1
CH-4051 Basel
Switzerland
tel:++41 61 267 0376
fax:++41 61 267 0362
mailto:
[hidden email]
http://evolution.unibas.ch/people/dita/I'm worried about the state of our oceans. Are you?
http://evolution.unibas.ch/people/dita/fish/fish.htmlthe Blue is back...!
http://evolution.unibas.ch/people/dita/the_blue/welcome.html---------------------------------------------------------------
The greatest obstacle to discovery is not ignorance:
it is the illusion of knowledge.
-- Daniel Boorstin
---------------------------------------------------------------