Login  Register

Re: Assigning actions to arrow keys?

Posted by Bill Mohler on Nov 26, 2008; 9:24pm
URL: http://imagej.273.s1.nabble.com/Assigning-actions-to-arrow-keys-tp3694382p3694384.html

Perfect.  Thanks!

>On Nov 26, 2008, at 2:41 PM, Bill Mohler wrote:
>
>>Are the keyboard arrows (up, down, right, left) or other keys
>>easily assignable to macro-defined actions.  Can this be done
>>without any plugin authoring?
>
>You can't use the arrow keys but you can use the "8", "2", "6" and
>"4" numeric keypad keys as macro shortcuts. Here is an example:
>
>    macro "Up [n8]" {
>       showStatus("up");
>    }
>
>    macro "Down [n2]" {
>       showStatus("down");
>    }
>
>    macro "Right [n6]" {
>       showStatus("right");
>    }
>
>    macro "Left [n4]" {
>       showStatus("left");
>    }
>
>-wayne