shifit右英文左中文

~Rshift & Space::

                 gosub 英文
                            
return

~lshift & Space::

                 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


            }



给TA捐赠
共{{data.count}}人
人已捐赠
其他

shakemouse

2021-12-2 15:32:03

其他案例

Strsplit简易示例1

2021-12-2 15:32:16

0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索