[新手上路]批处理新手入门导读[视频教程]批处理基础视频教程[视频教程]VBS基础视频教程[批处理精品]批处理版照片整理器
[批处理精品]纯批处理备份&还原驱动[批处理精品]CMD命令50条不能说的秘密[在线下载]第三方命令行工具[在线帮助]VBScript / JScript 在线参考
返回列表 发帖

100元求助:模拟WPS设置特殊符号快捷键

本帖最后由 kevin007 于 2020-11-19 16:00 编辑

我常给老师装软件。她们常要输入公式那些特殊符号。wps有特殊字符自定义快捷键功能。我给他们一个个设太多了。我查过,修改过的电脑,注册表会导入新的一些键。可以写批处理吗?我懂一些,写三个键出来,我应该会自己改着用了。

https://jingyan.baidu.com/article/4f7d571288b6451a201927c4.html

就好像这个百度教的。我测试过注册表是多了一些内容的。在修改快捷键之前,我用注册表对比工具(Regshot) 做了个快照,然后加了几个快捷键之后,马上做对比。对比报告里面写的有大概几个地方。当时我设了ctrl加数字123456,都显示在注册表。我测试过,ctrl加s都可以设。系统保存那个功能就关掉了。其实就是模拟这个过程。应该可以导入写好的,完成设置。有问过相对熟悉bat的朋友,他们说可能不是注册表的问题,请你们赐教。

  1. Windows Registry Editor Version 5.00
  2. [HKEY_CURRENT_USER\Software\Kingsoft\Office\6.0\Common\SymbolListOnTb]
  3. [HKEY_CURRENT_USER\Software\Kingsoft\Office\6.0\Common\SymbolListOnTb\SymbolItem 0]
  4. "DisplayChar"="+"
  5. "FontName"="Arial"
  6. "InsertChar"="+"
  7. "ShortcutKeys"="Ctrl+1"
  8. "Visible"="-1"
  9. [HKEY_CURRENT_USER\Software\Kingsoft\Office\6.0\Common\SymbolListOnTb\SymbolItem 1]
  10. "DisplayChar"="-"
  11. "FontName"="Arial"
  12. "InsertChar"="-"
  13. "ShortcutKeys"="Ctrl+2"
  14. "Visible"="-1"
  15. [HKEY_CURRENT_USER\Software\Kingsoft\Office\6.0\Common\SymbolListOnTb\SymbolItem 10]
  16. "DisplayChar"="α"
  17. "FontName"="Arial"
  18. "InsertChar"="α"
  19. "ShortcutKeys"="Ctrl+3"
  20. "Visible"="-1"
  21. [HKEY_CURRENT_USER\Software\Kingsoft\Office\6.0\Common\SymbolListOnTb\SymbolItem 11]
  22. "DisplayChar"="β"
  23. "FontName"="Arial"
  24. "InsertChar"="β"
  25. "ShortcutKeys"=""
  26. "Visible"="-1"
  27. [HKEY_CURRENT_USER\Software\Kingsoft\Office\6.0\Common\SymbolListOnTb\SymbolItem 12]
  28. "DisplayChar"="θ"
  29. "FontName"="Arial"
  30. "InsertChar"="θ"
  31. "ShortcutKeys"=""
  32. "Visible"="-1"
  33. [HKEY_CURRENT_USER\Software\Kingsoft\Office\6.0\Common\SymbolListOnTb\SymbolItem 13]
  34. "DisplayChar"="℃"
  35. "FontName"="Arial"
  36. "InsertChar"="℃"
  37. "ShortcutKeys"=""
  38. "Visible"="-1"
  39. [HKEY_CURRENT_USER\Software\Kingsoft\Office\6.0\Common\SymbolListOnTb\SymbolItem 14]
  40. "DisplayChar"="〖"
  41. "FontName"="Arial"
  42. "InsertChar"="〖〗"
  43. "ShortcutKeys"=""
  44. "Visible"="-1"
  45. [HKEY_CURRENT_USER\Software\Kingsoft\Office\6.0\Common\SymbolListOnTb\SymbolItem 15]
  46. "DisplayChar"="{"
  47. "FontName"="Arial"
  48. "InsertChar"="{}"
  49. "ShortcutKeys"=""
  50. "Visible"="-1"
  51. [HKEY_CURRENT_USER\Software\Kingsoft\Office\6.0\Common\SymbolListOnTb\SymbolItem 16]
  52. "DisplayChar"="©"
  53. "FontName"="Arial"
  54. "InsertChar"="©"
  55. "ShortcutKeys"=""
  56. "Visible"="-1"
  57. [HKEY_CURRENT_USER\Software\Kingsoft\Office\6.0\Common\SymbolListOnTb\SymbolItem 17]
  58. "DisplayChar"="®"
  59. "FontName"="Arial"
  60. "InsertChar"="®"
  61. "ShortcutKeys"=""
  62. "Visible"="-1"
  63. [HKEY_CURRENT_USER\Software\Kingsoft\Office\6.0\Common\SymbolListOnTb\SymbolItem 18]
  64. "DisplayChar"="@"
  65. "FontName"="Arial"
  66. "InsertChar"="@"
  67. "ShortcutKeys"=""
  68. "Visible"="-1"
  69. [HKEY_CURRENT_USER\Software\Kingsoft\Office\6.0\Common\SymbolListOnTb\SymbolItem 19]
  70. "DisplayChar"="&"
  71. "FontName"="Arial"
  72. "InsertChar"="&"
  73. "ShortcutKeys"=""
  74. "Visible"="-1"
  75. [HKEY_CURRENT_USER\Software\Kingsoft\Office\6.0\Common\SymbolListOnTb\SymbolItem 2]
  76. "DisplayChar"="×"
  77. "FontName"="Arial"
  78. "InsertChar"="×"
  79. "ShortcutKeys"=""
  80. "Visible"="-1"
  81. [HKEY_CURRENT_USER\Software\Kingsoft\Office\6.0\Common\SymbolListOnTb\SymbolItem 20]
  82. "DisplayChar"="*"
  83. "FontName"="Arial"
  84. "InsertChar"="*"
  85. "ShortcutKeys"=""
  86. "Visible"="-1"
  87. [HKEY_CURRENT_USER\Software\Kingsoft\Office\6.0\Common\SymbolListOnTb\SymbolItem 21]
  88. "DisplayChar"="#"
  89. "FontName"="Arial"
  90. "InsertChar"="#"
  91. "ShortcutKeys"=""
  92. "Visible"="-1"
  93. [HKEY_CURRENT_USER\Software\Kingsoft\Office\6.0\Common\SymbolListOnTb\SymbolItem 22]
  94. "DisplayChar"="%"
  95. "FontName"="Arial"
  96. "InsertChar"="%"
  97. "ShortcutKeys"=""
  98. "Visible"="-1"
  99. [HKEY_CURRENT_USER\Software\Kingsoft\Office\6.0\Common\SymbolListOnTb\SymbolItem 23]
  100. "DisplayChar"="‰"
  101. "FontName"="Arial"
  102. "InsertChar"="‰"
  103. "ShortcutKeys"=""
  104. "Visible"="-1"
  105. [HKEY_CURRENT_USER\Software\Kingsoft\Office\6.0\Common\SymbolListOnTb\SymbolItem 24]
  106. "DisplayChar"="$"
  107. "FontName"="Arial"
  108. "InsertChar"="$"
  109. "ShortcutKeys"=""
  110. "Visible"="-1"
  111. [HKEY_CURRENT_USER\Software\Kingsoft\Office\6.0\Common\SymbolListOnTb\SymbolItem 25]
  112. "DisplayChar"="¥"
  113. "FontName"="Arial"
  114. "InsertChar"="¥"
  115. "ShortcutKeys"=""
  116. "Visible"="-1"
  117. [HKEY_CURRENT_USER\Software\Kingsoft\Office\6.0\Common\SymbolListOnTb\SymbolItem 26]
  118. "DisplayChar"="§"
  119. "FontName"="Arial"
  120. "InsertChar"="§"
  121. "ShortcutKeys"=""
  122. "Visible"="-1"
  123. [HKEY_CURRENT_USER\Software\Kingsoft\Office\6.0\Common\SymbolListOnTb\SymbolItem 27]
  124. "DisplayChar"="|"
  125. "FontName"="Arial"
  126. "InsertChar"="|"
  127. "ShortcutKeys"=""
  128. "Visible"="-1"
  129. [HKEY_CURRENT_USER\Software\Kingsoft\Office\6.0\Common\SymbolListOnTb\SymbolItem 28]
  130. "DisplayChar"="※"
  131. "FontName"="Arial"
  132. "InsertChar"="※"
  133. "ShortcutKeys"=""
  134. "Visible"="-1"
  135. [HKEY_CURRENT_USER\Software\Kingsoft\Office\6.0\Common\SymbolListOnTb\SymbolItem 29]
  136. "DisplayChar"="◎"
  137. "FontName"="Arial"
  138. "InsertChar"="◎"
  139. "ShortcutKeys"=""
  140. "Visible"="-1"
  141. [HKEY_CURRENT_USER\Software\Kingsoft\Office\6.0\Common\SymbolListOnTb\SymbolItem 3]
  142. "DisplayChar"="÷"
  143. "FontName"="Arial"
  144. "InsertChar"="÷"
  145. "ShortcutKeys"=""
  146. "Visible"="-1"
  147. [HKEY_CURRENT_USER\Software\Kingsoft\Office\6.0\Common\SymbolListOnTb\SymbolItem 30]
  148. "DisplayChar"="≈"
  149. "FontName"="Arial"
  150. "InsertChar"="≈"
  151. "ShortcutKeys"=""
  152. "Visible"="-1"
  153. [HKEY_CURRENT_USER\Software\Kingsoft\Office\6.0\Common\SymbolListOnTb\SymbolItem 31]
  154. "DisplayChar"="…"
  155. "FontName"="Arial"
  156. "InsertChar"="…"
  157. "ShortcutKeys"=""
  158. "Visible"="-1"
  159. [HKEY_CURRENT_USER\Software\Kingsoft\Office\6.0\Common\SymbolListOnTb\SymbolItem 32]
  160. "DisplayChar"="≤"
  161. "FontName"="Arial"
  162. "InsertChar"="≤"
  163. "ShortcutKeys"=""
  164. "Visible"="-1"
  165. [HKEY_CURRENT_USER\Software\Kingsoft\Office\6.0\Common\SymbolListOnTb\SymbolItem 33]
  166. "DisplayChar"="≥"
  167. "FontName"="Arial"
  168. "InsertChar"="≥"
  169. "ShortcutKeys"=""
  170. "Visible"="-1"
  171. [HKEY_CURRENT_USER\Software\Kingsoft\Office\6.0\Common\SymbolListOnTb\SymbolItem 34]
  172. "DisplayChar"="≦"
  173. "FontName"="Arial"
  174. "InsertChar"="≦"
  175. "ShortcutKeys"=""
  176. "Visible"="-1"
  177. [HKEY_CURRENT_USER\Software\Kingsoft\Office\6.0\Common\SymbolListOnTb\SymbolItem 35]
  178. "DisplayChar"="≧"
  179. "FontName"="Arial"
  180. "InsertChar"="≧"
  181. "ShortcutKeys"=""
  182. "Visible"="-1"
  183. [HKEY_CURRENT_USER\Software\Kingsoft\Office\6.0\Common\SymbolListOnTb\SymbolItem 36]
  184. "DisplayChar"="¨"
  185. "FontName"="Wingdings"
  186. "InsertChar"="¨"
  187. "ShortcutKeys"=""
  188. "Visible"="-1"
  189. [HKEY_CURRENT_USER\Software\Kingsoft\Office\6.0\Common\SymbolListOnTb\SymbolItem 37]
  190. "DisplayChar"="t"
  191. "FontName"="Wingdings"
  192. "InsertChar"="t"
  193. "ShortcutKeys"=""
  194. "Visible"="-1"
  195. [HKEY_CURRENT_USER\Software\Kingsoft\Office\6.0\Common\SymbolListOnTb\SymbolItem 38]
  196. "DisplayChar"="y"
  197. "FontName"="Wingdings"
  198. "InsertChar"="y"
  199. "ShortcutKeys"=""
  200. "Visible"="-1"
  201. [HKEY_CURRENT_USER\Software\Kingsoft\Office\6.0\Common\SymbolListOnTb\SymbolItem 4]
  202. "DisplayChar"="㎏"
  203. "FontName"="Arial"
  204. "InsertChar"="㎏"
  205. "ShortcutKeys"=""
  206. "Visible"="-1"
  207. [HKEY_CURRENT_USER\Software\Kingsoft\Office\6.0\Common\SymbolListOnTb\SymbolItem 5]
  208. "DisplayChar"="㎜"
  209. "FontName"="Arial"
  210. "InsertChar"="㎜"
  211. "ShortcutKeys"=""
  212. "Visible"="-1"
  213. [HKEY_CURRENT_USER\Software\Kingsoft\Office\6.0\Common\SymbolListOnTb\SymbolItem 6]
  214. "DisplayChar"="㎝"
  215. "FontName"="Arial"
  216. "InsertChar"="㎝"
  217. "ShortcutKeys"=""
  218. "Visible"="-1"
  219. [HKEY_CURRENT_USER\Software\Kingsoft\Office\6.0\Common\SymbolListOnTb\SymbolItem 7]
  220. "DisplayChar"="㎡"
  221. "FontName"="Arial"
  222. "InsertChar"="㎡"
  223. "ShortcutKeys"=""
  224. "Visible"="-1"
  225. [HKEY_CURRENT_USER\Software\Kingsoft\Office\6.0\Common\SymbolListOnTb\SymbolItem 8]
  226. "DisplayChar"="ɑ"
  227. "FontName"="Arial"
  228. "InsertChar"="ɑ"
  229. "ShortcutKeys"=""
  230. "Visible"="-1"
  231. [HKEY_CURRENT_USER\Software\Kingsoft\Office\6.0\Common\SymbolListOnTb\SymbolItem 9]
  232. "DisplayChar"="ɡ"
  233. "FontName"="Arial"
  234. "InsertChar"="ɡ"
  235. "ShortcutKeys"=""
  236. "Visible"="-1"
复制代码
#&cls&@powershell "Invoke-Expression ([Io.File]::ReadAllText('%~0',[Text.Encoding]::UTF8))" &pause&exit

TOP

本帖最后由 ivor 于 2020-11-19 17:37 编辑

只设置了前三个字符快捷键"ShortcutKeys"="Ctrl+1"、"ShortcutKeys"="Ctrl+2"、"ShortcutKeys"="Ctrl+3",保存为1.reg。双击导入就行

有不明白的加我

QQ250193966
#&cls&@powershell "Invoke-Expression ([Io.File]::ReadAllText('%~0',[Text.Encoding]::UTF8))" &pause&exit

TOP

返回列表