Difference between revisions of "LavishGUI:UI (Command)"

From Lavish Software Wiki
Jump to navigation Jump to search
Line 11: Line 11:
  
 
== Examples ==
 
== Examples ==
* ui -reset
+
===Removing all UI elements (including console)===
* ui -load defaultui
+
*UI -reset
* ui -load myui
+
===Load a UI from an XML file===
* ui -reload myui
+
*UI -load defaultui
* ui -unload myui
+
*UI -load tradeskillui
 +
===Reload a UI from an XML file===
 +
*UI -reload myui
 +
===Unload a UI===
 +
*UI -unload myui
  
 
== See Also ==
 
== See Also ==

Revision as of 21:43, 24 August 2005

Syntax

Command Difficulty Rating
UI
Usage Newbie
Level of Understanding Newbie
Computer Savvy Newbie
Logic Newbie

UI -reset|-load <filename>|-reload <filename>|-unload <filename>

Forms

  • UI -reset - clears all UI elements including the console
  • UI -load <filename> - loads an XML interface file and adds the new elements to the current interface. Any top-level elements in the file that already exist in the current UI will be skipped
  • UI -reload <filename> - same as load except it will not skip existing elements and replace them instead
  • UI -unload <filename> - Unloads each of the elements described in the XML file

Tip: The UIElement command can be used to remove specific UI elements

Examples

Removing all UI elements (including console)

  • UI -reset

Load a UI from an XML file

  • UI -load defaultui
  • UI -load tradeskillui

Reload a UI from an XML file

  • UI -reload myui

Unload a UI

  • UI -unload myui

See Also