{"name":"menuShortcut","title":"menuShortcut","type":"command","url":"https://community.bistudio.com/wiki/menuShortcut","revid":378341,"updated":"2026-04-02T16:31:19Z","groups":["GUI Control - Menu"],"status":"ok","games":{"arma3":"1.56"},"since":"arma3 1.56","arma3_since":"1.56","description":"Returns shortcut related to menu entry on given path in form of a bitflag. To get the shortcut text use menuShortcutText.","syntaxes":[{"syntax":"menuShortcut [idc, path]","params":[{"name":"idc","type":"Number","type_expr":"Number"},{"name":"path","type":"Tree View Path","type_expr":"Tree View Path"}],"returns":{"type":"Number","type_expr":"Number"},"form":"unary","right":{"text":"[idc, path]"}},{"syntax":"control menuShortcut path","params":[{"name":"control","type":"Control","type_expr":"Control"},{"name":"path","type":"Tree View Path","type_expr":"Tree View Path"}],"returns":{"type":"Number","type_expr":"Number"},"form":"binary","left":{"text":"control"},"right":{"text":"path"}}],"examples":[{"code":["findDisplay 313 displayCtrl 120 menuShortcut [0, 1];"]}],"see_also":["menuShortcutText","menuSetURL"]}