This example retrieves the mapping for a right-click (using no modifier keys), assigns this value to a string variable, and then displays the variable.
Sub GetMouseMapDemo ()
With Session
Dim mapString as String
mapString = .GetMouseMap(rcNormal, "RightBtn")
MsgBox mapString
End With
End Sub