This chapter covers the following topics:
You can add customized menus for running batch scripts to the Strategic Network Optimization interface by using the linx.startup file. You can specify a customized menu with menu options, or you can specify a menu name only. If you specify only a menu name, it appears as an option instead of a menu heading. In the linx.startup file, enter the following line:
addmenubutton "menu|item|subitem" path/file
where:
menu is the menu heading displayed on the menu bar to the right of the ReportWriter menu.
item is a menu choice under the menu.
subitem is a menu choice under the item.
path/file is the path and name of the batch script that contains the batch commands to run when you select the customized menu item.
Notes
Quotation marks are required around menu|item|subitem only if a parameter contains a space.
Avoid using existing menu labels for your customized menus and menu items.
If you want to select an item from a customized menu using the keyboard, place an & character in front of a letter.
Do not specify a character in this way if an existing menu also uses that character.
You cannot add menu items to existing menus.
If you add many menus or if you use long menu labels, they might not be visible or might make the Help menu inaccessible.
No warning messages or confirmation messages are displayed when you run batch commands from a menu.
The following batch commands cannot be run from a customized menu:
ui
verbose
formatgraph
help
>
>>
quit
exit