Stairways Software Icon

Stairways Software

Excellence In Software For Over Twenty Years – Only with a Mac

Selecting items from a popup menu

Something that is relatively tricky to do in Keyboard Maestro is to select menu items from a popup menu. The typical hackish solution is to simulate a click in the menu, followed by simulated keystrokes to select the desired menu item (Insert Text by Typing works well for this), followed by simulating the return key to select the item (or right arrow to drill down into hierarchical menus).

A neat solution is inspired from a MarsEdit tip (in turn inspired by a Macworld tip) which describes how to use the Keyboard & Mouse System Preference to assign key equivalents to any menu in an application, including popup menus. Once you assign a key equivalent it is then a trivial macro action to simulate that keyboard equivalent.

Thanks to Brent Simmons for the post, and also to Rob Griffiths for the original inspiration.

Posted Thursday, February 5, 2009. Permalink. Post a Comment.

Comments

Post Comment

Name: (optional)
URL: (optional)
Email: (optional, not published)
   
CAPTCHA: five five nine six (required)
  To prove you are human, please enter the number as digits (ie, 1-9).
Comment:
  You can use some HTML tags such as <b>, <i>, and <a href="">.
We reserve the right to remove any offensive or inappropriate comments.
Due to spam issues, comments are initially invisible until we review them,
you can see them (background red) and we can see them, but no one else.

Comment Preview

None yet.

Buy Now

User Database

Stairways