Arma 3 Scripting

Command in GUI Control - Menu

menuSetShortcut

Also available as Markdown and JSON, or read the original wiki page.

Description

Sets shortcut of given menu strip entry.

Syntax

Syntax 1

menuSetShortcut [idc, path, shortcut]

Parameters:

Returns: Nothing

Syntax 2

control menuSetShortcut [path, shortcut]

Parameters:

Returns: Nothing

Examples

Example 1

_ctrlMenuStrip menuSetShortcut [[0,0], 2048 + 0x16]; // ALT + U

See also

menuShortcut · menuShortcutText