Each main menu item has a default ALT shortcut key attached to them.
MainMenuShortcuts.png
Alt+F :
File menu
Alt+E :
Edit menu
Alt+V :
View menu
Alt+G :
Go menu
Alt+A : F
avorites menu
Alt+U :
User menu
Alt+S :
Scripting menu
Alt+T :
Tools menu
Alt+P :
Panes menu
Alt+B : Ta
bsets menu
Alt+W :
Window menu
Alt+H :
Help menu
It's a standard windows feature, in fact other OSes do it too.
In standard windows desktop apps, each main menubar item has a underlined character. Alt+Character will trigger that menu.
The underlining is hidden by default. But you can change a system config to change that.
in Windows 7 start menu searchbar (or Control Panel searchbox) , type "keyboard work" (no quotes), pick "Change how your keyboard works",
in the opened ctrl panel window, check "Underline keyboard shortcuts and accesskeys".
The process is the same in Windows 8; the captions may be different, but the option is in ease of use/assistance -> keyboard related section.
back to XY: if you toggle off the menubar (find it in Help->List all cmds, or it's ::#1061;) then you can assign those shortcuts to other functions without mainmenu triggers interfering...
(I have assigned those keys to "doppelganger" user scripts, so when the menubar is hidden ALT+F will trigger ::popupmainmenu file; and so on.)