Login  Register

Re: how to add shortcuts in a plugin

Posted by Dita Vizoso on Aug 12, 2010; 6:32am
URL: http://imagej.273.s1.nabble.com/how-to-add-shortcuts-in-a-plugin-tp3687272p3687276.html

>It might be possible, but perhaps it would be easier to use the Action Bar
>plugin:
>
>http://imagejdocu.tudor.lu/doku.php?id=plugin:utilities:action_bar:start
>
>and assign a different magnification (as I suggested earlier) so each button
>runs a macro setting the Microscope_Scale plugin choice.
>So each button in the Action Bar will call the same Microscope_Scale plugin
>but with a different magnification and set it to the current image.

I'll give it a try (the plugin looks quite nice anyway!).  Along the same
lines of my question, can one then add a keyboard shortcut to the buttons
directly?  We use several computers and it is best if all the keyboard
shortcuts could be set in one file.

Thanks!
Dita