Create Menu Command
create menu <menu_name> Applies to menus
The create menu command creates an empty menu that appears in the Oracle Media Objects menu bar.
Once the menu has been created, the items in the menu may then be modified using the add menuItem command, or by setting the menuItems property. A submenu can be added to a menu item by issuing the add menu command.
The menu is created dynamically; it remains in the menu bar until delete menu has been issued, or the Oracle Media Objects session is terminated. To associate a menu with a particular stack or card, add the create menu command to the appropriate on openStack or on openCard handler.
Type the following into the Message Box and press Enter:
create menu "Colors"
Add the following handler to the script of a stack to associate a menu with a specific stack:
create menu "Animals"
& "Pigs" into the_items
to the_items pass openStack
This text has been mechanically extracted from the Oracle Media Objects 22.214.171.124 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.