Parent Topic: Preferences

Disabling Menu Items

The Disable-Menu preference can be used to remove menu items, or whole menus from the ImageWorks main menubar. This is primarily useful for making a simplified version of ImageWorks available, or to remove a menu item so that a replacement can be provided using the ``Menu'' preference.

The data arguments to the Disable-Menu preference are the list of names leading to the particular menu item to be disabled. The names of all the menu items in ImageWorks can be established by running the DUMPMENU procedure in the ImageWorks modelling window.

The Disable-Menu preference is applied to the ImageWorks menubar before the Menu preference, so it is possible to disable a PCI provided menu item, and replace it with a user provided EASI script.

Example:

The following preferences would remove the filter item on the Tools menu and remove the entire View menu.

 Disable-Menu: ToolsMI FilterMI
 Disable-Menu: ViewMI
See Also: Adding Menu Items


Parent Topic: Preferences
About PCI Help Gateway