You create, edit, modify or delete GN4 keyboard and mouse shortcuts by editing <InputConfig> sections (typically there is more than one) in the XXX_TABITEMS.XML files (where XXX can be Fred4 or Ted4 or Shell4 or EdAdmin4).
After editing the file, re-import it in GN4 database.
Restart GN4 applications in order to reload the configuration.
Example
1.Open a XXX_TABITEMS.XML file in an XML enabled editor (Visual Studio Express will be fine).
2.Collapse all items (for Visual Studio Express: Edit > Outlining > Toggle All Outlining), and then expand GN4ShellConfiguration.
3.Expand GN4ShellMenus: this shows all menusets.
4.Expand the appropriate Menuset, and then look for <InputConfig...> section - it contains keyboard and mouse shortcuts.
5.Shortcuts can be defined on the main (application when no document is loaded) or on the designer (application, when a document - article, page, edition etc. is loaded) level.
For example, in FRED4_TABITEMS.XML, in the Fred4Main Menuset and in the related <InputConfig>, the key F5 is assigned to the Refresh script:
<KeyBinding CommandType="Script" CommandParameter="Refresh" Key="F5"/>
That is active on the application level, even when nothing is loaded.
There are further Fred4 shortcuts in the PageDesigner menuset, in its own <InputConfig> section.
The fact is that PageDesigner menuset is active only when there's a page loaded, while Fred4Main menu set is active also when no page is loaded.
Important: Activation of a script assigned to a shortcut depends not only in which InputConfig the shortcut is defined, but also on the enabler function attached to the script. Thus, it may happen that even though the shortcut was defined under the menuset that is active also when no document is loaded, the shortcut won't work without a document if the script itself is activated in the conditions of "have a document loaded".
See also