Example

This example shows how to retrieve and display the mapping for a keystroke.

Sub ShowAltF1Mapping ()

 Dim cmds As String

 cmds = Session.GetKeyMap(rcAlt, "F1")

 MsgBox "Alt+F1 is mapped to " & cmds

End Sub