AddFileViewMenuItem Command

Adds a menu item to a for a FileView context menu.

The functiond GetFileViewerSelectedDirectories and GetFileViewerSelectedFiles may be used to retrieve the items currently selected in the file viewer

AddFileViewMenuItem <file-type> <text> <command>



Flag to say associate this with directories.


The file format to associate this with, for example 'Schematic'. This corresponds to the File Extensions list in the General Options dialog. This is not required if the directory flag is set. The following values can be used:

  • Component
  • Schematic
  • Script
  • VerilogA
  • VerilogHDL
  • Netlist
  • Model


The name of the menu that will be shown.


The script command to call if the menu item is executed.

See Also