Documentation

Editing Menus

When you select a Menu setting and open the advanced options panel at the bottom, you will get an editor panel like this:
Menu editor

Enabled
Determines if this menu item is enabled (visible) or disabled (invisible).
Name
This is the caption of the menu item. This is the text shown in the popup menu when you right-click the server window. The value of this caption is expanded for any variables or functions.
Script
This is the full script of the menu. See the Scripting topic for more information. It is executed when the menu item is selected from the right-click context menu.
Language
Select the scripting language used for this menu. Built-in languages include: zScript, Lua, VBScript, and JavaScript. But any other scripting language installed into the Windows Scripting Host can also be used.
Script Text / XML / Compiled Code
Selecting the Compiled Code tab will show the low-level code generated by this menu. This is for internal testing purposes and is not documented further. Selecting the XML tab will allow you to edit the raw XML data used for copy/paste and import/export.
Subclass
Specifies the name of a class that contains other menu items to be shown as a submenu of the current item.
ID
Specifies a short name that can be used to reference this menu object
Priority
Specifies the order in which menu items are shown in the right-click context menu.
Notes
Used to store comments with the menu item. You might use this to remind yourself what the menu item is used for.

Add comment

Login or register to post comments