|
AddMenuItem
| var AddMenuItem( String strMenuText, String strCodeToRun ) |
Summary
Add a menu item to the context menu for the current programme.
Parameters
| Parameter | Description |
| String strMenuText |
The actual text to display on the menu. |
| String strCodeToRun |
The code to execute when the menu item is chosen. |
|
|
|
Returns
none
Examples
AddMenuItem( "Add as favourite", "AddFavourite();" ); |
See Also
AddMenuSeparator
GetProgrammeInfo
|
|