Extension point for defining kit hot keys.(c) SAP AG 2003-2006. All rights reserved.
Defines a new hotkey.The hotkey scope (e.g., 'STUDIO').The hotkey code (e.g., 'CS65' for Ctrl+shift+A).The command to invoke when the hotkey is pressed.The hotkey scope (e.g., 'STUDIO').The hotkey code (e.g., 'CS65' for Ctrl+shift+A).Id of an existing command to invoke when the hotkey is pressed.The newly defined hotkey command.<h2>Xml definition of a hotkey in a configuration file</h2>
<pre>
<CONFIGURE type="HOTKEYS">
? <HEADER>
? <PRAGMA># Pragmas section</PRAGMA>
? <SCRIPT># Code section. Place here functions\variables
which you want to address from within the hotkey tags
</SCRIPT>
</HEADER>
<HOTKEYS>
+ <HOTKEY>
<PROPERTIES>
<scope> # The hotkey scope </scope>
<code> # The hotkey code </code>
</PROPERTIES>
<COMMAND>
# See "<q ref="core.env:KitCommands!defineCommand">defineCommand</q>"
</COMMAND>
</HOTKEY>
</HOTKEYS>
</CONFIGURE>
</pre>
<h2>Example</h2>
<pre>
<CONFIGURE type="HOTKEYS">
<HOTKEYS>
<HOTKEY>
<PROPERTIES>
<scope>GmlDrawing</scope>
<code>113</code>
</PROPERTIES>
<COMMAND id="EDIT_RENAME"></COMMAND>
</HOTKEY>
</HOTKEYS>
</CONFIGURE>
</pre>
Returns the command associated with a specified hotkey.The hotkey scope.The hotkey code.The command associated with the requested hotkey.
Returns the table of hotkeys in a specified scope.The hotkeys table scope.Table of command objects, indexed by hotkey code.
Returns the complete hotkeys table.Table of command objects, indexed by hotkey scope and code.Hotkey scope id's are stored in uppercase. Use <q ref="core.lib:Basic!UPPER">UPPER</q> macro to convert the Hotkey scope id to uppercase
before using it as the index in this table.
Removes a specified hotkey definition.The hotkey scope.The code of the hotkey to remove.