Assigning actions to arrow keys?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Assigning actions to arrow keys?

Bill Mohler
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?

Bill
Reply | Threaded
Open this post in threaded view
|

Re: Assigning actions to arrow keys?

Wayne Rasband
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
Reply | Threaded
Open this post in threaded view
|

Re: Assigning actions to arrow keys?

Bill Mohler
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