|
Onetastic Macro Documentation >
>
>
MacroMenu_AddItem
Adds a menu item to current macro's menu. Macros can optionally display a menu with multiple items. See Macro menus for more information.
Syntax
void MacroMenu_AddItem(
MacroMenu menu,
String argument,
String label,
String description,
String section)
Parameters
- MacroMenu menu
- The menu to add menu item to. This object will be passed to the Setup function.
- String argument
- The argument passed to the Main function if this menu item is clicked.
- String label
- The label to be displayed in the ribbon for this menu item.
- String description
- The description to be displayed in the ribbon for this menu item.
- String section (optional)
- The section of the menu to add this item to. Valid values:
"Presets", "Recent", "Settings". Defaults to "Presets".
|