AddFileViewMenuItem

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

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

Parameters

/directory

Flag to say associate this with directories.

file-type

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

text

The name of the menu that will be shown.

command

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