Chapter 7. Working with Config Files

Table of Contents

The ConfigChunk Editing Window
Including Other Configuration Files

Clicking on VjControl's “Configure” tab lets you view and edit config files (see Figure 7.1). The display consists of two similar panels, side by side. The idea is that you can view one file on each side, making it easy to compare two files and to copy Chunks back and forth between them.

Figure 7.1. VjControl Config Editing

VjControl Config Editing

At the top of each panel is a ComboBox that lets you choose which of the loaded config files to display. The selected file will appear in a tree format in the middle of the panel.

Chunks in the display are organized by type and by broader categories. The specific organization of the tree is determined by VjControl's current ChunkOrgTree. See Chapter 9 for more information.

You can click on a Chunk in the tree to select it. Double-clicking on a Chunk brings up a window that lets you view or edit the Chunk. Right-clicking on a Chunk brings up a small menu that lets you view help information on that Chunk (if available) or remove it from the file (see Figure 7.2). Similarly, right-clicking on folders that represent Chunk types brings up a small menu letting you insert new Chunks (see ).

Figure 7.2. Chunk Removal Menu

Chunk Removal Menu

Figure 7.3. Chunk Insertion Menu

Chunk Insertion Menu

There are eight buttons along the side of each panel:

The ConfigChunk Editing Window

Double-click on one of the ConfigChunks in the tree to open the ConfigChunk editing window. This window displays the values for all the Chunk's properties, and lets you modify these values.

Figure 7.4. Config Chunk Editing Window

Config Chunk Editing Window

Some properties in a Chunk allow a variable number of values. These include an Add Value button next to the property name, and a Remove button next to each value (see Figure 7.5).

Figure 7.5. Property Editors

Property Editors
Property Editors

Click the OK button to exit the window, or Cancel to close the window without saving the changes you've made.