~#y::
gosub 英文
return
~#z::
gosub 中文
return
中文:
SwitchIME(00000804)
msgbox,,,已切换为中文模式,1
tooltip,中文模式
return
英文:
SwitchIME(0x04090409)
msgbox,,,已经切换英文模式,0.1
tooltip,英文模式
return
大写:
msgbox,,,大写模式,0.1
SetCapsLockState,on
return
SwitchIME(dwLayout){
HKL:=DllCall("LoadKeyboardLayout", Str, dwLayout, UInt, 1)
ControlGetFocus,ctl,A
SendMessage,0x50,0,HKL,%ctl%,A
}
;If (A_PriorHotkey = A_ThisHotkey && A_TimeSincePriorHotkey < 210)
暂无讨论,说说你的看法吧