User Tools

Site Tools


The Select or Show a Menu Item action selects a menu item OR shows (opens) a menu in the main menubar.

You can choose to execute a menu in the front application, or in a specific application (in which case the application is briefly brought to the front, the menu is selected, and then the front application is restored).

The Select Menu Item action includes a Menu popup menu so that you can choose from all currently running applications and their menus, which helps ensure you have correctly specified the menu.

If you leave the menu item blank, Keyboard Maestro will show you the menu and leave it displayed so that you can then select the desired menu item manually.

The Select Menu action allow you to specify multiple options separated by a vertical bar (eg Show|Hide) to allow for toggling or varying menus. They will also ignore the difference between three dots (...) and an ellipsis (…) so you do not have to worry which one the menu uses.

Alternatively, you can start the name with an ^ and use a regular expression to match the menu.

Also the action will translate the word “APPLICATION” (all capitals) into the current application name, allowing menu selections like APPLICATION ➤ About APPLICATION. ⚠️ Note that applications may not have names that match their Application menu name (such as Microsoft Word, whose menu name is just Word). You can use APPLICATION as part of a set of multiple items, so you can work around this using APPLICATION|Word|Excel ➤ About APPLICATION|About Word|About Excel for example.

Before 7.0, unlike most text fields in Keyboard Maestro, the Select Menu Item fields do not process text tokens. As of 7.0+, the fields do process text tokens.

The Select Menu action will, by default, abort the macro if the action is not successful (for example if the menu cannot be found or is disabled). The action can be configured to allow the macro to continue if the menu is not essential (such as “Mark As Read” which might be disabled if the item is already marked as read).

See Also






action/Select_or_Show_a_Menu_Item.txt · Last modified: 2017/03/05 22:15 by peternlewis