6.10.5 Adding new tools

The tools menu can be extended with any external program which is command-line oriented. The output of such a program will be caught and displayed in the messages window.

Adding a tool to the tools menu can be done using the "Options|Tools" menu. This will display the tools dialog. The tools dialog is shown in gure (6.20).



Figure 6.20: The tools conguration dialog

PIC


In the tools dialog, the following actions are available:

New
Shows the tool properties dialog where the properties of a new tool can be entered.
Edit
Shows the tool properties dialog where the properties of the highlighted tool can be edited.
Delete
Removes the currently highlighted tool.
Cancel
Discards all changes and closes the dialog.
OK
Saves all changes and closes the dialog.

The denitions of the tools are written in the desktop conguration le, so unless auto-saving of the desktop le is enabled, the desktop le should be saved explicitly after the dialog is closed.