an example can be found on AMOSPro_Tutorial:Tutorials/Menus/Menus_4.AMOS
Assigns a key-press to any individual menu item. This is interpreted by the Menu system exactly as if the user had selected the option directly from the menu.
Menu Key(a,b,..) To c$
Assign a single key-press in c$ to the item at a,b,..
Menu Key(a,b,..) To scancode
Menu Key(a,b,..) To scancode,shift
See KEY SHIFT for a list of the various shift options.