Skip to content

Instantly share code, notes, and snippets.

@maokwen
Last active July 24, 2025 00:16
Show Gist options
  • Select an option

  • Save maokwen/edadfff9d3a2768a6d1f87000469e66e to your computer and use it in GitHub Desktop.

Select an option

Save maokwen/edadfff9d3a2768a6d1f87000469e66e to your computer and use it in GitHub Desktop.
微软拼音添加小鹤双拼
if((Test-Path -LiteralPath "HKCU:\SOFTWARE\Microsoft\InputMethod\Settings\CHS") -ne $true) { New-Item "HKCU:\SOFTWARE\Microsoft\InputMethod\Settings\CHS" -force -ea SilentlyContinue };
New-ItemProperty -LiteralPath 'HKCU:\SOFTWARE\Microsoft\InputMethod\Settings\CHS' -Name 'UserDefinedDoublePinyinScheme0' -Value 'XiaoHe*2*^*iuvdjhcwfg^xmlnpbksqszxkrltvyovt' -PropertyType String -Force -ea SilentlyContinue;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment