ClearButton command

From m204wiki
Revision as of 00:50, 26 January 2023 by Ekern (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Action:

Removes all previously set mappings for a particular Client button.

Syntax:

clearButton buttonName

where buttonName is one of:

  • button0, button1, ... button14, the names of the main button bar buttons  
  • extraButton0, extraButton1, ... extraButton14, the names of the extra button bar buttons  

After you execute the command, the button is removed immediately from the button bar to which it applies but not 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 clearButton, if they were in the ui.xml or uimore.xml file.

See also the mapButton command.

Client menu: --
Introduced: Build 57