how to add shortcut shortkey to windows context menu?

Page 2 of 2 FirstFirst 12

  1. Posts : 9
    Windows 10 22H2
       #11

    m18xr2 said:
    for example, copy has underlined c and paste has underlined t.

    is it possible to add the letter via some registry method? having to constantly move mouse is hella annoying and pressing 1 key would be so much quicker since my context menu getting long too
    I think you are asking about "accelerator keys" (or "access keys" in Settings). If you have the underline turned on when you open the context menu with the mouse (search for underline in Settings) , or open the context menu with the "menu key" (usually next to the right control key), or Shift -F10 for the extended context menu, you can see any such keys. If there are items with the same access key, then pressing that key cycles between the options, and you press Enter when you have arrived at the correct one . If there is only one, then that action happens straight away.

    There are basically two types of context menu that you see. One triggers a shell extension, which does whatever its author programmed it to do, and probably won't allow you to do anything to modify it. (Found in HKCR under a ShellEx key). The other which has simple rules comes under a Shell key. It's quite likely that the text of the menu item can be found by searching for the text in the registry. If you can find the text under a Shell key, you can change it. The access key has an & character immediately before it. Clearly if you can choose a character that isn't being used in the context menu for the filetype that you are interested in, then you should achieve your goal.

    As always, unless you need to make this change for all users of the computer, you should make the change under HKCU\Software\Classes, rather than HKCR, or HKLM\Software\Classes. You may need to add keys under HKCU\Software\Classes, but you won't require any permissions to do this.

    Useful reference: https://learn.microsoft.com/en-us/wi...-menu-handlers
      My Computer


  2. Posts : 181
    10, server 2016, server2012
    Thread Starter
       #12

    skeptic mike said:
    I think you are asking about "accelerator keys" (or "access keys" in Settings). If you have the underline turned on when you open the context menu with the mouse (search for underline in Settings) , or open the context menu with the "menu key" (usually next to the right control key), or Shift -F10 for the extended context menu, you can see any such keys. If there are items with the same access key, then pressing that key cycles between the options, and you press Enter when you have arrived at the correct one . If there is only one, then that action happens straight away.

    There are basically two types of context menu that you see. One triggers a shell extension, which does whatever its author programmed it to do, and probably won't allow you to do anything to modify it. (Found in HKCR under a ShellEx key). The other which has simple rules comes under a Shell key. It's quite likely that the text of the menu item can be found by searching for the text in the registry. If you can find the text under a Shell key, you can change it. The access key has an & character immediately before it. Clearly if you can choose a character that isn't being used in the context menu for the filetype that you are interested in, then you should achieve your goal.

    As always, unless you need to make this change for all users of the computer, you should make the change under HKCU\Software\Classes, rather than HKCR, or HKLM\Software\Classes. You may need to add keys under HKCU\Software\Classes, but you won't require any permissions to do this.

    Useful reference: https://learn.microsoft.com/en-us/wi...-menu-handlers
    oh thanks a lot. so access or accel key is the term im looking for here.

    I think what you said make sense because back then I had to use hex editor for some .exe or .dll file to edit some program's context menu names and those weren't found in registry. iirc registry told to read said file for context menu and I think thats the ShellEx you're referring to.

    the one in registry are always the best so I'll look for those, thanks a lot.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 21:50.
Find Us




Windows 10 Forums