Windows 10: Which registry key controls the right click options for selected text

Discus and support Which registry key controls the right click options for selected text in Windows 10 Support to solve the problem; In almost any file that contains text such as notepad, or any windows 'box' where typing is allowed, when you select some or all of the text displayed... Discussion in 'Windows 10 Support' started by questorfla, May 12, 2016.

  1. Which registry key controls the right click options for selected text


    In almost any file that contains text such as notepad, or any windows 'box' where typing is allowed, when you select some or all of the text displayed by highlighting it, the right click menu offered for the selected text contains things like 'Open IME' or 'Right to left Reading Order' and a few others including cut, copy, paste, and delete.
    Is it possible to add any custom actions to the these and if so where would I do it?
    If I wanted to use the selected text in an application, is there a way to use the selection as a variable passed to the application by adding an option for that function to this menu?

    :)
     
    questorfla, May 12, 2016
    #1
  2. DaveM121 Win User

    Keep the USB drive plugged in

    For some reason Windows thinks it is running in portable Mode, you will need to edit the registry to fix this . . . 1. Click your Start Button, type regedit and hit enter, this will open the Registry Editor 2. Browse to HKEY_CURRENT_USER\SYSTEM\CurrentControlSet\Control
    3. Select the PortableOperatingSystem key in the right pane 4. Right click that key and choose 'Delete' 5. Confirm deletion by clicking Yes, 6. Close The Registry Editor Restart your PC
     
    DaveM121, May 12, 2016
    #2
  3. auggy Win User
    USB Floppy works with old driver, not with latest

    Everything appears OK at that registry key.

    Can you go to the following registry key:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4d36e980-e325-11ce-bfc1-08002be10318}

    Can you right-click on that registry key and select "Export" and save as a .reg file.

    Then make that .reg file available via Google Drive.
     
    auggy, May 12, 2016
    #3
  4. dalchina New Member

    Which registry key controls the right click options for selected text

    Hello, there are only general programs for adding items to the context menu, not specific to that context as far as I've seen. Some only add preset functions, others like those below allow you to add anything.

    Tthe more comprehensive context menu editors tend not to be free.
    This one is:
    Right Click Context Menu Adder: Freeware to Add Useful Shortcuts in Windows 7 and Later Desktop Context Menu - AskVG
    (See under 'Functions')

    More:
    1-abc.net Right Click Configurator - Decide what the Windows Explorer popup menu does!
    Right click configurator

    Context Menu Manager by Fahmy - rather a cluttered GUI but potentially pretty much ever option

    As to whether the program you add to the context menu would process the clipboard (selected/copied text) that would be a function of that added program.
     
    dalchina, May 12, 2016
    #4
  5. Thanks. I will see if that program works with Windows 10. I certainly don't mind buying a tool that will get the job done. The problem right now is I cannot even do it manually because I cannot find the right key to edit. The lines displayed for selected text always show those same options but when iI search the registry for "Open IME" or 'Right to left Reading Order' it always times out and never returns a key with those values.
     
    questorfla, May 13, 2016
    #5
  6. dalchina New Member
    Maybe the first tricky bit will be to find a way to get a new context entry appearing in that context...

    Using Context Edit I noted this (presumably ref. IME - note the parameter):


    Which registry key controls the right click options for selected text [​IMG]
     
    dalchina, May 13, 2016
    #6
  7. Yeah, i see what you mean. I have just run through every tool in the toolbox. I cannot find anything that points directly to the specific location and action and there may not even be one. In the search, i did find a nifty tool named Textify "Textify - RaMMicHaeL's Blog" by an author I happen to know of but even that isn't a direct path to the action i am trying to accomplish. But getting closer *Wink
    There are 100's of extensions to do this IF you are already in Chrome but getting a browser to open and use selected text is probably going to take some fancy scripting
     
    questorfla, May 13, 2016
    #7
  8. dalchina New Member

    Which registry key controls the right click options for selected text

    Actually you don't get that context menu in every case where text input is allowed- even if text is selected....
     
    dalchina, May 13, 2016
    #8
  9. Yes, such as in an email etc. I had seen that but i figured best to look for the most basic of entries and work my way up. I am now trying to write this into a vbs script and hopefully i can find a place to link that to the clipboard. Still not sure how to control the activation though.
    I can get VBS to open my browser , open google Search. But that was the easy part. The text is loaded into the clipboard .. now if I can get something to inject the contents of clipboard into the google Search box which is where the focus is when the vbs runs I may get there yet,
    Every site i searched from page 1 to page 15 in various google searches invariably leads back to already being in Chrome. *Sad
     
    questorfla, May 13, 2016
    #9
  10. arachnaut Win User
    NirCmd - Windows command line tool

    has a clipboard handler that allows access in scripts to the clipboard data.

    Write your script using it and place that in the 'shell\name\ command' key under the file type you want the context menu.

    You can use registry entries '*' for every file type, 'Drive' for drives, 'Folder', etc.

    For example,

    Code: [HKEY_CLASSES_ROOT\*\shell\Check MD5 Hash\command] @="C:\\Program Files (x86)\\md5deep\\md5hashCheck.bat %1"[/quote] or

    Code: [HKEY_CLASSES_ROOT\Folder\shell\De-Stream\Command] @="\"C:\\SysinternalsSuite\\streams.exe\" -s -d \"%1\""[/quote] or

    Code: [HKEY_CLASSES_ROOT\Drive\shell\MD5 Hash Drive\command] @="runas /profile /user:Administrator \"cmd.exe /k \\\"C:\\Program Files (x86)\\md5deep\\md5-hash-drive.bat\\\" %1"[/quote]
    Here are more answers:

    Access clipboard in Windows batch file - Stack Overflow
     
    arachnaut, May 13, 2016
    #10
  11. Thanks ARACHNAUT.!
    I have been a fan of Nir Sofer since i saw his first package back in the days of Bulletin board postings. Back then I used to put the nircmd on every system I built. But I admit that I have not looked at it for along time. Though i have used many of his standalone utilities.

    The only thing left to making this a perfect solution is my original search for a way to add ANY command to the right click options for selected text. Clipbrd.exe is no longer an "available" command in Win 10. While there are many replacements, most of them tried to one-up each other so i cant be sure that it only does the bare minimum needed.
    If i can find a way to put the exact nircmd string for loading the registry location i have selected to clipboard that would be perfect. I may have to settle for copy to clip then click a hotkey to activate nircmd though *Sad

    A short time back i asked a group of coders why someone hasn't written the app to scan all displayed text for any reference to a registry key and add a property to the text so it would work like a hyperlink. If clicked it would open regedit to that key if it exists or to the nearest matching location if not. I can already scan a full screen of data and have the text "READ" to me by a "bot" so obviously recognizing text is not the problem.

    In my case, i would want the 'bot' to highlight the keys much as hyperlinks are highlighted and add the "jump to key in regedit" feature to any that are clicked like hyperlinks jump to websites.

    Since no one has, that is what I am trying to do. A poor-man's simple version of the same capability done one by one as needed. *Sad
     
    questorfla, Apr 5, 2018
    #11
Thema:

Which registry key controls the right click options for selected text

Loading...
  1. Which registry key controls the right click options for selected text - Similar Threads - registry key controls

  2. Unable to select options on C Drive Right Click Menu

    in Windows 10 Software and Apps
    Unable to select options on C Drive Right Click Menu: Whenever I right click on my C Drive the menu comes up but unable to select anything from the menu. Nothing highlights and unable to select any options. I can right click and make a selection from browsers, background, etc. How can I resolve this issue?...
  3. Unable to select options on C Drive Right Click Menu

    in Windows 10 Gaming
    Unable to select options on C Drive Right Click Menu: Whenever I right click on my C Drive the menu comes up but unable to select anything from the menu. Nothing highlights and unable to select any options. I can right click and make a selection from browsers, background, etc. How can I resolve this issue?...
  4. Right click options.

    in Windows 10 Gaming
    Right click options.: New Windows 11...MS Edge.When right clicking a file/Programme the options list is short but offers 'Show more options'.How do I get the full list first time with the right click....as in Windows 10?Please?...
  5. Right click options.

    in Windows 10 Software and Apps
    Right click options.: New Windows 11...MS Edge.When right clicking a file/Programme the options list is short but offers 'Show more options'.How do I get the full list first time with the right click....as in Windows 10?Please?...
  6. Right-Click to Add to Registry

    in Windows 10 Customization
    Right-Click to Add to Registry: Ok, here's what I wanna do. I wanna create a right-click menu option to add a program to the registry. Specifically, I want to add it to HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run. I have installed FileMenu Tools to help me with this. I also know I can go to...
  7. Right Click Option

    in Windows 10 Customization
    Right Click Option: Is there a way i can customize my right click option like add or remove app option. i want to remove github option on my right click. [ATTACH] https://answers.microsoft.com/en-us/windows/forum/all/right-click-option/c2573dd3-515e-495a-ba90-969c18c20da0
  8. Text right click

    in Windows 10 Ask Insider
    Text right click: Hi, I need to know how toedit texts when you right click in desktop... Like edit 'copy' with 'explode' or something like that with regedit idk... If I can't, however, where is the place where Windows 10 saves this scripts? I mean, the scripts with the default texts of...
  9. ARROW KEYS SELECTING TEXT

    in Windows 10 Customization
    ARROW KEYS SELECTING TEXT: ANS ARROW KEY + INSERT WAS ACCIDENTALY PRESSED https://answers.microsoft.com/en-us/windows/forum/all/arrow-keys-selecting-text/7cde71aa-edb1-49a0-9535-21ae420f04b9
  10. Text selection option in Windows

    in Windows 10 Customization
    Text selection option in Windows: Hello, I want to know that if there is any option of text selection in windows 10 like that option in google photoes app, so can i can copy or translate the text written in the photoes i have. If yes, the how can i do so?...