{"name":"menuSetShortcut","title":"menuSetShortcut","type":"command","url":"https://community.bistudio.com/wiki/menuSetShortcut","revid":378330,"updated":"2026-04-02T16:30:41Z","groups":["GUI Control - Menu"],"status":"ok","games":{"arma3":"2.02"},"since":"arma3 2.02","arma3_since":"2.02","description":"Sets shortcut of given menu strip entry.","syntaxes":[{"syntax":"menuSetShortcut [idc, path, shortcut]","params":[{"name":"idc","type":"Number","type_expr":"Number"},{"name":"path","type":"Tree View Path","type_expr":"Tree View Path"},{"name":"shortcut","type":"Number","type_expr":"Number"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"unary","right":{"text":"[idc, path, shortcut]"}},{"syntax":"control menuSetShortcut [path, shortcut]","params":[{"name":"control","type":"Control","type_expr":"Control"},{"name":"path","type":"Tree View Path","type_expr":"Tree View Path"},{"name":"shortcut","type":"Number","type_expr":"Number"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"control"},"right":{"text":"[path, shortcut]"}}],"examples":[{"code":["_ctrlMenuStrip menuSetShortcut [[0,0], 2048 + 0x16]; // ALT + U"]}],"see_also":["menuShortcut","menuShortcutText"]}