找回密码
 加入
搜索
查看: 1644|回复: 0

[AU3基础] hotkeyset新发现

[复制链接]
发表于 2013-12-5 23:44:40 | 显示全部楼层 |阅读模式
Dim $i=1,$j=2,$l=3
HotKeySet($i, "captureEsc")
HotKeySet($j, "captureEsc1")
HotKeySet($l, "captureEsc2")
While 1
        Sleep(100)
WEnd
Func captureEsc()
    HotKeySet($i)
    Send("7")
   HotKeySet($i, "captureEsc")
EndFunc
Func captureEsc1()
    HotKeySet($j)
    Send("4")
   HotKeySet($j, "captureEsc1")
EndFunc
Func captureEsc2()
    HotKeySet($l)
    Send("1")
   HotKeySet($l, "captureEsc2")
EndFunc

为什么按1和2的时候都好好的,当按到3的时候就又变到1了呢??
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-9-28 17:33 , Processed in 0.080529 second(s), 19 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表