The following methods provide access to Custom User Interface (CUI) files. The CUI functions are in a structure package named cui.
Returns the directory of the currently active CUI file as a string.
Returns the currently active CUI file name as a string.
cui.setConfigFile <filename_string>
Sets the currently active CUI file to the specified file name.
Saves the current CUI configuration data to the active .cui file
cui.saveConfigAs <filename_string>
Saves current CUI configuration data to the specified file. The specified file is made the current CUI file.
cui.loadConfig <filename_string>
Loads the CUI configuration data from supplied file. The specified file is made the current CUI file.
Note: The Customize/Load Custom UI Scheme menu item is implemented as a macroScript. This macroScript is called macro_uischeme.mcr in the \ui\macroscripts directory. cui.loadConfig is only part of what needs to be done to switch over to a new UI scheme. The aforementioned macroScript will guide you through the other actions that also need to be performed.