AHK中英文切换

~#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)
                                

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

AHK新建AHK写入注释符

2021-12-2 14:52:28

其他

AHK中英文切换2

2021-12-2 14:52:40

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