OS X right click/context menu via keyboard

Is it possible to access the right click/context menu of the currently selected item (not the item under the mouse) by way of using a keyboard shortcut?

If not, is there any way to achieve this, either by Applescript or utility?


There is no way in general on the Mac to determine the screen coordinates of the current insertion point. So there is no way to automate a click at the current insertion point.

In some apps, there might be a way to get the coordinates via AppleScript, or it might be possible to get them using some sort of private API or other system hackery, but there is no general solution to this problem that is supported by Apple APIs.

It is, apparently, quite a common UI gesture on Windows, but it is not something you can do on the Mac.


The context menu can primarily be opened by a right mouse click (or a control click) only.

However, if you want to right click on a specific area on the screen without using the mouse, you may use Mouse Keys from Universal Access settings in System Preferences. With it, you can control the mouse by using the keyboard number pad. When activated, a right mouse click then can be achieved by Ctrl+5 on a keyboard with a numpad or Fn+Ctrl+i on a laptop. This will allow you to 'right-click' your word.

Go to System Preferences --> Universal Access --> Mouse --> Enable Mouse Keys (ON) Go to System Preferences --> Universal Access --> Mouse --> Enable Mouse Keys (ON)

Found on: https://stackoverflow.com/a/11238186/1919382


I was also looking for this kind of feature and found a good alternative.

Most context menu items in OS X can also be found in the top menu bar, and you can access this with a keyboard shortcut. By default it's set to ctrl+F2, however this often doesn't work. You can change the binding on the Keyboard preference pane.

This this post has more details http://reviews.cnet.com/8301-13727_7-57591609-263/access-menus-via-the-keyboard-in-os-x/


For files in the Finder, you can reach an "Actions" menu (not the built-in context menu) with Alfred's File Actions feature.

This is only in the paid version of the application, but I have it because of this and other functionality that really makes it worth it. For instance, one of the actions you can choose is "Email to..." and then start typing and choose a name read directly from your Contacts, press enter, and the "compose email" window is opened up with the recipient and subject filled in and the file attached.

With these and other features, it's not the same as the context menu, but I've never needed to access a file's context menu since I installed Alfred, so I think it accomplishes the purpose of this question, at least for the Finder.


One could probably write an Applescript that moved the mouse over the selected item and do a right-click. Other than that, no, I don't believe there is a way.