|
|
2#

楼主 |
发表于 2007-5-29 17:53:18
|
只看该作者
Vista下基于TableTextService的五笔输入法
用过Vista的都知道,传统IME在IE7的保护模式下统统失灵。微软又不自带五笔,可害苦了我们这些wber。——别着急,Vista给咱留了一条活路,这就是新增的的输入法服务——TableTextService。经过多日的摸索和学习,终于做出个可用的码表。其中很多参数的含义尚未弄清,四码顶字上屏暂时没找到完美的实现方法。但谢天谢地,被拼音折磨的日子终于结束啦。请有条件的朋友参与测试,共同打造完美的TTS五笔!
安装步骤:
1、下载码表 http://okuc.net/software/TableTextServiceSimplifiedSun86.rar
2、将解压后得到的TableTextServiceSimplifiedSun86.txt复制到文件夹%prgramfiles%\Windows NT\TableTextService\
2、用管理员方式运行CMD,进入DOS提示符下
3、进入文件夹%programfiles%\Windows NT\TableTextService\
4、运行命令: Rundll32 TableTextService.dll RegisterProfile TableTextServiceSimplifiedSun86.txt
5、一路确认,安装成功。
6、调出语言栏中的输入法服务设置,找到简体中文区域的“海峰五笔86版(版本9.2)”添加到输入法列表中即可。
TableTextService源码表文件头:
[System]
LangId = LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
GuidProfile={733B4D81-3BC3-4132-B91A-E9CDD5E2BF86}
Description="海峰五笔86版 9.2 Vista"
Display Description="海峰五笔86版 9.2 Vista"
[Configuration]
ShowIncrementalCandidateImmediately=1
MakePhraseFromText=0
Wildcard=1
DisableWildcardAtFirst=1
KeystrokeSort=1
CandidateWindow.Width=13
Composition.ConversionOnlyOneItem=1
[PreservedKey]
GuidImeMode={98213494-367A-4855-90A1-97D917E3EC3D}
KeyDefineImeMode=VK_SHIFT, TF_MOD_ON_KEYUP_SHIFT_ONLY
DescriptionImeMode="@%programFiles%\Windows NT\TableTextService\TableTextService.dll,-20"
ImeMode=1
GuidDoubleSingleByte={F1101BB8-CD65-4ceb-B5BD-8ECDD574D1D0}
KeyDefineDoubleSingleByte=VK_SPACE, TF_MOD_SHIFT
DescriptionDoubleSingleByte="@%programFiles%\Windows NT\TableTextService\TableTextService.dll,-23"
DoubleSingleByte=0
GuidPunctuation={172D66D5-5EDE-4fb7-8B00-209BE826758D}
KeyDefinePunctuation=VK_OEM_PERIOD, TF_MOD_CONTROL
DescriptionPunctuation="@%programFiles%\Windows NT\TableTextService\TableTextService.dll,-26"
Punctuation=1
[LanguageBar]
GuidImeMode={0e730736-8c88-41be-8ed2-e1cd3a9d6f4f}
DescriptionImeMode="Conversion mode"
TooltipImeMode="@%programFiles%\Windows NT\TableTextService\TableTextService.dll,-20"
EnableImeMode=1
ImeModeOnIconIndex=ICON_IME_MODE_ON
ImeModeOffIconIndex=ICON_IME_MODE_OFF
GuidDoubleSingleByte={77b49080-fb16-4c26-8926-1f878cf8817c}
DescriptionDoubleSingleByte="Character width"
TooltipDoubleSingleByte="@%programFiles%\Windows NT\TableTextService\TableTextService.dll,-23"
EnableDoubleSingleByte=1
DoubleSingleByteOnIconIndex=ICON_DOUBLE_SINGLE_BYTE_ON
DoubleSingleByteOffIconIndex=ICON_DOUBLE_SINGLE_BYTE_OFF
GuidPunctuation={4e50f141-94f8-4c1b-bace-581abd6bf91d}
DescriptionPunctuation="Punctuation"
TooltipPunctuation="@%programFiles%\Windows NT\TableTextService\TableTextService.dll,-26"
EnablePunctuation=1
PunctuationOnIconIndex=ICON_PUNCTUATION_ON
PunctuationOffIconIndex=ICON_PUNCTUATION_OFF
[Profile]
KeystrokeFile ="%SystemRoot%\SunWb\SunV86.txt"
DictionaryFile="%SystemRoot%\SunWb\SunV86.txt"
[Keystroke.Composition]
VK_A, 0 = INPUT // A
VK_B, 0 = INPUT // B
VK_C, 0 = INPUT // C
VK_D, 0 = INPUT // D
VK_E, 0 = INPUT // E
VK_F, 0 = INPUT // F
VK_G, 0 = INPUT // G
VK_H, 0 = INPUT // H
VK_I, 0 = INPUT // I
VK_J, 0 = INPUT // J
VK_K, 0 = INPUT // K
VK_L, 0 = INPUT // L
VK_M, 0 = INPUT // M
VK_N, 0 = INPUT // N
VK_O, 0 = INPUT // O
VK_P, 0 = INPUT // P
VK_Q, 0 = INPUT // Q
VK_R, 0 = INPUT // R
VK_S, 0 = INPUT // S
VK_T, 0 = INPUT // T
VK_U, 0 = INPUT // U
VK_V, 0 = INPUT // V
VK_W, 0 = INPUT // W
VK_X, 0 = INPUT // X
VK_Y, 0 = INPUT // Y
VK_Z, 0 = INPUT // Z
[Text]
"a"="工"
…… |
|