User Tools

Site Tools


action:Select_or_Show_a_Menu_Item

Table of Contents

**This is an old revision of the document!**

The Select or Show a Menu Item allows you to select or show 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 or button name. Also, Select Menu will translate the word “APPLICATION” (all capitals) into the current application name, allowing menu selections like APPLICATION ➤ About APPLICATION.

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).

action/Select_or_Show_a_Menu_Item.1438850229.txt.gz · Last modified: 2015/08/06 04:37 by peternlewis