67

What combination of keys produce a right-click and a left-click?

  • 1
    You should probably specify the OS, and window manager (if applicable). – Robert Kluin Oct 2 '10 at 16:57
  • windows7 system – Anonymous Oct 2 '10 at 16:58
99

There isn't one for left-click, though spacebar and Enter are often usable.

Right-clicking is usually a request for a context-sensitive menu which is performed on the keyboard either by typing

About 65% of applications out there won't respond to the keyboard request for a context menu, because Windows programmers typically code WM_RBUTTONUP rather than the correct WM_CONTEXTMENU. Coding the latter allows for the correct action in response to the keyboard.

  • 4
    +1 for "menu/pointer looking thing usually to the right of the space bar between Alt and Ctrl". Thanks. – Xavierjazz Oct 2 '10 at 21:03
  • 8
    +1 for Shift+F10 as my stupid Logitech keyboard at work doesn't have the context key, it has a Fn key instead. If I could another +1 for the tip on trigger events too. – BeowulfNode42 May 21 '14 at 1:41
  • Ironically, SQL Server Management Studio falls within the 65%. ;-\ – Brad Christie Jan 11 '15 at 3:55
  • @BeowulfNode42 oddly enough, my Logitech keyboard has a <kbd>FN</kbd> inbetween the <kbd>Alt Gr</kbd> and the <kbd>Ctrl</kbd> keys, right of the <kbd>SPACE</kbd>. If I press the <kbd>FN</kbd> key and left click, I get a context menu. – Rebecca Apr 21 '15 at 14:21
  • 1
    @GibralterTop: Good to know. I believe I was using 2014 but can't be certain. Either way, I'm glad it works now. (Maybe they're SO/SE users and saw my comment). ;-) – Brad Christie Sep 28 '17 at 13:25
20

You can define your own using software like autohotkey:

Example

This code replaces:

  • left alt to left mouse click
  • right alt to right mouse click

Code:

LAlt::LButto
RAlt::RButton

Link to autohotkey keyboard remapping: link
Link to autohotkey download : link

  • 7
    If you're actually after the context menu (and not a physical rt-click) use ~RAlt::AppsKey in your AutoHotKey script. – yhw42 May 27 '11 at 18:58
1

I have a new Logitech K740 keyboard. It just replaced my old Dell letters-scratched-off key board that had built-in context menu selection and calculator shortcut keys.

The solution to the context menu issue on the Logitech K740 is FN + PrintScrn (shows a little page or list). This key combo pops open the context menu.