http://granjow.net/unicode-input.html这个网站提供了一个AutoHotKey脚本,以及一个已编译的exe版本。
以下是源代码:
; (c) 2015 Simon A. Eugster <simon.eu@gmail.com> Public Domain
; This script listens for Shift+Ctrl+u and then shows a unicode input field.
; The unicode point (e.g. 2013 for an en dash) is then inserted in the active application.
; To run, download AutoHotkey from http://www.autohotkey.com/, save this script
; as e.g. UnicodeInput.ahk, and double-click it.
#SingleInstance force
#Persistent
;Menu, Tray, icon, unicode.ico
Menu, Tray, nostandard ; Put the following menu items on top (default: bottom)
Menu, Tray, add, Info, InfoHandler, -10
Menu, Tray, add
Menu, Tray, standard ; Add default menu items at the bottom
return
InfoHandler:
MsgBox Press Shift+Ctrl+U to get an entry field for unicode points (see decodeunicode.org for a list).`n`nAuthor: Simon A. Eugster <simon.eu@gmail.com> / granjow.net
return
+^u::
InputBox, codepoint, Unicode code point, U+
if not ErrorLevel
Send {U+%codepoint%}
return