Edit

AppendPopupItems (windowRef, itemID, itemString)

Result Type:  none

Definition:  Adds items to the popup menu control with id itemID as specified by the itemString. The string should be a semicolon-delimited list of item names. Any item name beginning with a ( will be disabled. Use (- for a separator item.

Example:  AppendPopupItems(windowRef, "M_MYPOPUP", "Item one;Item two;(-;(Disabled;(-;Last")

Availability:  available within MWScript handlers.

See Also:

DeletePopupItems: Remove items from a popup menu