Shiny Language Reference

Language Reference > Traymenu Functions


remtrayitem

remtrayitem(string Item);

 

Synonyms:

remtraymenuitem(string Item);

remtmi(string Item);

 

Removes an item from the tray menu for the plugin

REMTRAYITEM removes a menu item from the tray menu that pops up when a user right clicks the Brass tray icon and selects the plugin from the popup menu. If you want to change the text of an item use CHANGETRAYITEM instead.

 

Parameters

Item

The text to search for in the menu item list and remove.

 

Return Value

None

 

Example Code

// Remove "My test item" from the traymenu
remtrayitem("My test item");