States
Active Menus
Exposes a list of objects containing details on the currently active menus. Does not include default menus.
Menus Object
id
The ID of the active menu.
items
A list of item objects representing the menu's items. This contains useful data such as checkbox check states
trayId
The ID of the tray the menu is attached to, if any.
menuType
The type of menu. Can be menuBar, contextMenu, dockMenu, or trayMenu
selectors
A list of HTML selectors that will trigger a context menu, if any.
Clicked Menu
Populates with the menu object of the last clicked menu.
This only fires for "custom actions" - menu items without a default role assigned.
Clicked Menu Item ID
Populates with the menu item ID that was clicked.
This only fires for "custom actions" - menu items without a default role assigned.
Clicked Menu Item Label
Populates with the menu item label that was clicked.
This only fires for "custom actions" - menu items without a default role assigned.
Clicked Menu Checkbox Checked
If the clicked menu item was a checkbox, this will output the state of it.
Context Menu Opened
Populates with the menu object of the context menu that was last opened.
This will be empty if a default context menu is shown.
Error
Outputs errors from workflows.