{"name":"menuShortcutText","title":"menuShortcutText","type":"command","url":"https://community.bistudio.com/wiki/menuShortcutText","revid":378343,"updated":"2026-04-02T16:31:24Z","groups":["GUI Control - Menu","Broken Commands"],"status":"broken","games":{"arma3":"1.56"},"since":"arma3 1.56","arma3_since":"1.56","description":"Returns a string containing shortcut text for menu item on the given path.","syntaxes":[{"syntax":"menuShortcutText [idc, path]","params":[{"name":"idc","type":"Number","type_expr":"Number"},{"name":"path","type":"Tree View Path","type_expr":"Tree View Path"}],"returns":{"type":"String","type_expr":"String"},"form":"unary","right":{"text":"[idc, path]"}},{"syntax":"control menuShortcutText path","params":[{"name":"control","type":"Control","type_expr":"Control"},{"name":"path","type":"Tree View Path","type_expr":"Tree View Path"}],"returns":{"type":"String","type_expr":"String"},"form":"binary","left":{"text":"control"},"right":{"text":"path"}}],"examples":[{"code":["findDisplay 313 displayCtrl 120 menuShortcutText [1, 8]; // returns \"#\""]}],"problems":"> [!WARNING]\n> This command is currently broken in Arma 3 2.00. It only returns shortcuts which do not use a modifier key (<kbd>Ctrl</kbd>, <kbd>Alt</kbd> and <kbd>⇧ Shift</kbd>).","see_also":["menuShortcut","menuSetShortcut"]}