Here is another great Script Trigger technique.
Sometimes you want to use Up and Down arrow keys to navigate a portal or list view. Here is how you can do it, by writing a simple script and attaching a script trigger to the layout.
In this example, I use the Up/Down keys to move through a list, and the Enter or Return key to select one of the list items. The Escape key takes you back to your previous layout.
Don’t use these keys on a layout that you need to edit in, as they can interfere with what the user expects (for example, using the arrow key to move down a lengthy text field.), just use them for quick selection layouts.
Write the script
Basically, each item in the list is a Listen for the keystroke (by number) then do something.
Attach the Script to the Layout
Common Keystrokes to listen for:
Right Arrow 30
Left Arrow 28
Up Arrow 29
Down Arrow 31
You can obviously combine these keys with a trap for which layout you are on and what modifier keys are being held.
You can also listen for modifier keys:
Option Key is 8
Control key is 4
Function Key is 0
Shift Key is 1