Configuring the Tools Menu

The user-configurable Tools menu lets you run other applications and custom Communications tasks from the Editor. For example:

Tools menu

 

The Before Running Tool checkbox in the Editor page of the Options (Settings menu) command forces all documents to be saved before any of the tools are run (the default is checked). ‘Tools’ are any customised commands in the Tools menu.

To configure the menu, use the Customise (Tools menu) command:

Customise Tools Menu dialog

 

The Menu Contents list box displays all the currently displayed options.

Menu Text – the text displayed in the menu for the currently selected item. Place a ‘&’ symbol in front of the character you want to use as a standard Windows hotkey within the menu.

Task Command – the executable command line or the custom Communications task file name. You can select the task (or executable) using the Browse button.

Initial Directory is the current working directory when the option is selected.

The lists beside the Task Command and Initial Directory edit boxes provide a list of variables that will be replaced when the option is selected from the menu. These are:

Example of list beside the Task Command and Initial Directory edit boxes providing a list

File Name includes the extension.

File Path includes the full directory path and the name.

File Title is just the name without the extension.

Control Name is the name given in the file information (the default is <Generic>).

File directory is the full directory to the current document file without the final ‘\’ character. Similarly the CAM and DNC directories are the paths to these two local areas (e.g. c:\edge\cam and c:\edge\dnc).

Display Output Screen – Check to open an output screen window for the task. This is only applicable for custom Communications tasks.

Display Task toolbar – Check to display the toolbar. This is only applicable for custom Communications tasks.

Add – Blanks out the edit boxes so that a new option can be added. On completion the new option is added to the menu. In the example below, 'Calculator' has been added:

Tools menu

 

Remove – Deletes the currently selected option.

Move Up and Move Down – change the relative position of the currently selected option.