How to set custom phrase for Microsoft Pinyin input method in win10 system?

  

After the operating system was upgraded to WIN10, it took a while to feel very good overall. However, the Pinyin input method that comes with it is too simple, and there is no function to set a custom phrase. The function without setting the interface does not mean that it cannot be set. Generally, the custom phrases are stored in a file, so the installation path of the input method is found.

Software Name:
VS Code Cleanup Tool (CodeMaid) 0.8.0 Official Latest Version
Software Size:
325KB
updated:
2015-08-01


1, there is a folder in win10, specifically input phrase with C: \\Windows\\InputMethod\\CHS As shown below:

2, this time you need a software vscode to open the file in this file, the download is provided above.

3. Formatting in the open CHS folder should be ‘abbreviation, location=phrase content’ Add a try ‘s’j,1=%yyyy%%MM% ’ Prompt permission is not enough to open ChsPinyinUDP.lex, add

directly at the end of the file, you need to change the file permissions, right-click the property ChsPinyinUDP.lex, change the permissions to full control.

5, may not be able to change successfully found that the above is gray, can not operate, there is only one Trustedinstaller, there is a way to get such permission:
Copy content to the clipboard Windows Registry Editor Version 5.00


  • [HKEY_CLASSES_ROOT\\*\\shell\ unas]

  • @="Get TrustedInstaller Permissions"

  • [HKEY_CLASSES_ROOT\\ *\\shell\ unas\\command]

  • @="cmd.exe /c takeown /f \\"%1\\" && icacls \\"%1\\" /grant administrators:F"

  • "IsolatedCommand"="cmd.exe /c takeown /f \\"%1\\" && icacls \\"%1\\" ; /grant administrators:F"

  • [HKEY_CLASSES_ROOT\\Directory\\shell\ unas]

  • @="Get TrustedInstaller Permissions"
  • < Br> "NoWorkingDirectory"=""

  • [HKEY_CLASSES_ROOT\\Directory\\shell\ un As\\command]

  • @="cmd.exe /c takeown /f \\"%1\\" /r /dy && icacls \\"%1\\" /grant administrators:F /t"

  • "IsolatedCommand"="cmd.exe /c takeown /f \\"%1\\" /r /dy && icacls \\ "%1\\" /grant administrators:F /t"

    After saving as a .reg file, double-clicking on the registry will get the Trustedinstaller full permission, right click and find an option


    6. Open ChsPinyinUDP.lex again, re-edit this file for saving, and find that it has not been saved. After re-logout, the phrase can be used.



    Recommended recommendation:

    What should I do if the input method is missing after installing the official version of win10?

    In the win10 system, the Chinese input method fails to input Chinese. What should I do?

    A command to solve Win10 can only lose English does not display the input method icon

  • Copyright © Windows knowledge All Rights Reserved