Previous Topic

Next Topic

Book Contents

Book Index

The XML File

The configuration of Notes Menu Launcher is based upon a XML file. Notes Menu Launcher can load the XML file from several sources. This is all controlled by a flag in the Registry. The Registry subkey is;

HKEY_LOCAL_MACHINE\Software\Voith's CODE\Notes Menu Launcher\Install with the value Config and it's string value (REG_SZ).

If the Config-value doesn't exist (which is the case for a freshly installed version of Notes Menu Launcher), a default XML configuration file will be loaded, enabling NotesPeek Buddy to launch on the currently selected document.

If the Config-value contains a string of the value "1", the XML configuration file will be loaded from the filesystem. The appurtenant value ConfigFilename specify the full path and filename of the XML file.

Below you see the general structure of the XML file. The subsequent topics will dive into the details:

<NotesMenus>
<NotesMenu>
<Actions>
<Action>...</Action>
<Action>...</Action>
...
</Actions>
...
</NotesMenu>

<NotesMenu>
<Actions>
<Action>...</Action>
<Action>...</Action>
...
</Actions>
...
</NotesMenu>
</NotesMenus>

The main elements in the XML file are:

In This Section

How Notes Menu Launcher communicates to the outside

NotesMenus - the to element

NotesMenu element - one for each menu

The Actions element

The Action element

The built-in NotesPeek Buddy