What combination of keys produce a right-click and a left-click?
4 Answers
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
≣ Menu key (https://en.wikipedia.org/wiki/Menu_key),
Shift+F10,
or sometimes Ctrl+Shift+F10.
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.
-
5+1 for "menu/pointer looking thing usually to the right of the space bar between Alt and Ctrl". Thanks. Oct 2, 2010 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. May 21, 2014 at 1:41
-
Ironically, SQL Server Management Studio falls within the 65%. ;-\ Jan 11, 2015 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.– RebeccaApr 21, 2015 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). ;-) Sep 28, 2017 at 13:25
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
-
8If you're actually after the context menu (and not a physical rt-click) use
~RAlt::AppsKey
in your AutoHotKey script.– yhw42May 27, 2011 at 18:58
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.
If you're looking for a keyboard equivalent of right-click in PuTTY (or SuperPuTTY) which does a paste, shift+insert does a paste