menu.getCommandKey

Syntax menu.getCommandKey ()

Params None.

Action Gets the command key for a menu item.

Returns A string, the command key.

Examples Create a menu at workspace.testMenu. Use the pop-up menu to set the command key to "5" for an item. Select that item.

target.set (@workspace.testMenu);menu.getCommandKey ()

   » "Ctrl+5"

See Also menu.setCommandKey

Discuss