MenuItem.GetUserKeyEquivalent
-----------------------------

Returns the user-assigned key equivalent for the menu item.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Menu](component_Menu.md) | [4.1](newinversion41.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

MBS( "MenuItem.GetUserKeyEquivalent"; Item ) 

**MBS**( **"MenuItem.GetUserKeyEquivalent";** /\* Returns the user-assigned key equivalent for the menu item. \*/  
**$Item**) /\* The reference to the menu item. Please create one with [MenuItem.CreateMenuItem](MenuItemCreateMenuItem.md) or [MenuItem.CreateSeparator](MenuItemCreateSeparator.md). \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Item | The reference to the menu item. Please create one with [MenuItem.CreateMenuItem](MenuItemCreateMenuItem.md) or [MenuItem.CreateSeparator](MenuItemCreateSeparator.md). | $item |

### Result

Returns text or error.

### Description

Returns the user-assigned key equivalent for the menu item.  
### See also

- [MenuItem.CreateMenuItem](MenuItemCreateMenuItem.md)
- [MenuItem.CreateSeparator](MenuItemCreateSeparator.md)
- [MenuItem.GetKeyEquivalent](MenuItemGetKeyEquivalent.md)
- [MenuItem.SetKeyEquivalent](MenuItemSetKeyEquivalent.md)

This function checks for a license.

Created 18th August 2014 , last changed 18th August 2014

  
[MenuItem.GetUnderline](MenuItemGetUnderline.md) - [MenuItem.HasSubmenu](MenuItemHasSubmenu.md)

[HTML Version](MenuItemGetUserKeyEquivalent.shtml)