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>
/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:
|
text |
The name of the menu that will be shown. |
command |
The script command to call if the menu item is executed. |
▲ Command Summary ▲ | ||
◄ AddDoubleClickAction | AddFloodFill ▶ |