How to send the right-click event to a tab-chosen control from an application or service?

This is what I want to achieve: to not need to touch the trackpad/mouse at all.

Why? I'm at least 10x faster on keyboard.

I want to use TAB (or other hotkeys where appropriate) to select a desired GUI element (or select some text in an editor), and then to send the right-click event to it - by virtue of a keyboard shortcut. Without touching the mouse, nor the trackpad.

This shortcut can evoke a service, or an app, daemon, angel, whatever :-) I don't care how it's done.

Any ideas? Do you know of any apps that can simulate mouse events?


Solution 1:

If you simply want to select GUI elements with keyboard, use Shortcat. It allows you to search all the visible GUI element and select it from your keyboard input.

Another tool you can use to simulate mouse event (such as right click) is Keyboard Maestro. It’s an app to create macro for all kind of events in Mac (from simulating keystrokes, mouse position, and even manipulating clipboard history). You can create almost all kind of interaction with Keyboard Maestro.

By combining those two apps above, you should be able to leave your mouse and trackpad. After all, you are a Keyboard Maestro.