ClearKey command: Difference between revisions

From m204wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
__TOC__
__TOC__
{|
{|
|width="50%"| '''Action:'''
|width="125px"| '''Action:'''
|width="50%"|
|width="575px"|
<span class="f_Para">Removes all previously set [[intro_configurable_components.html#named_buttons|mappings]] for a particular key. </span>
<span class="f_Para">Removes all previously set [[Introducing the configurable components#Named buttons and separators|mappings]] for a particular key. </span>


'''Syntax:'''  
'''Syntax:'''  
Line 13: Line 13:
<span class="f_Para">Immediately after you execute the command, the keyboard shortcut loses effect but its mapping is </span><span class="f_EmphBold">not</span><span class="f_Para"> removed from the mapping file (</span><span class="f_Monospace">ui.xml</span><span class="f_Para"> or </span><span class="f_Monospace">uimore.xml</span><span class="f_Para">) if it was specified there. A restart of the Client restores any mappings you remove with </span><span class="f_Monospace">clearKey</span><span class="f_Para">. </span>
<span class="f_Para">Immediately after you execute the command, the keyboard shortcut loses effect but its mapping is </span><span class="f_EmphBold">not</span><span class="f_Para"> removed from the mapping file (</span><span class="f_Monospace">ui.xml</span><span class="f_Para"> or </span><span class="f_Monospace">uimore.xml</span><span class="f_Para">) if it was specified there. A restart of the Client restores any mappings you remove with </span><span class="f_Monospace">clearKey</span><span class="f_Para">. </span>


<span class="f_Para">See also the </span><span class="f_Monospace">[[mapkey_cmd.html|mapKey]]</span><span class="f_Para"> and </span><span class="f_CodeExample">[[ClearButton command|clearButton]] </span><span class="f_Para">commands. </span>
<span class="f_Para">See also the </span><span class="f_Monospace">[[mapKey command|mapKey]]</span><span class="f_Para"> and </span><span class="f_CodeExample">[[ClearButton command|clearButton]] </span><span class="f_Para">commands. </span>
|-
|-
| '''Client menu:'''
| '''Client menu:'''

Latest revision as of 00:51, 26 January 2023

Action:

Removes all previously set mappings for a particular key.

Syntax:

clearKey key

where key is a keyboard key: a single letter or digit, or one of F2 through F12 (the function keys)

Immediately after you execute the command, the keyboard shortcut loses effect but its mapping is not removed from the mapping file (ui.xml or uimore.xml) if it was specified there. A restart of the Client restores any mappings you remove with clearKey.

See also the mapKey and clearButton commands.

Client menu: --
Introduced: Build 57