ActiveMenuSelect Function

Action

Picks the specified item from a popup menu.

Syntax

ActiveMenuSelect(wWindow, sMenuItem)
Variable Description
wWindow The name of the window which triggered the popup menu. WINDOW.
sMenuItem The popup-menu item to select. STRING.

Notes

This function is supported only in scripts that use the Classic Agent.

Example

The following shows how to select MenuItem "Item 1" from the popup Menu which is triggered by clicking on button "MyButton":

MyButton.Click()
ActiveMenuSelect(MyButton, "Item 1")