Selects the specified menu item.
- macOS 10.0+
The menu item to select, or
nilif you want to deselect all menu items.
By default, selecting or deselecting a menu item from a pop-up menu changes its state. Selecting a menu item from a pull-down menu does not automatically alter the state of the item. To disassociate the current selection from the state of menu items, set the
alters property to