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

[系统综合] 【已解决】如何让 HotKeySet 不吃掉按键?

[复制链接]
发表于 2013-3-29 15:09:45 | 显示全部楼层 |阅读模式
本帖最后由 ac5474012 于 2013-3-29 15:15 编辑

因为我希望按了insert键就等于按了insert键后马上按空格键。但是它貌似会循环。
HotKeySet("{insert}", "kong")
While 1
    Sleep(100)
WEnd
Func kong()
        Sleep(100)
Send("{insert}")
    Sleep(100)
Send("{SPACE}")
EndFunc
杂草☠(458926486)  15:13:00
HotKeySet("{Esc}", "captureEsc")
Func captureEsc()
    HotKeySet("{Esc}")
    Send("{Esc}")
    HotKeySet("{Esc}", "captureEsc")
EndFunc
您需要登录后才可以回帖 登录 | 加入

本版积分规则

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

GMT+8, 2024-5-18 23:44 , Processed in 0.078595 second(s), 24 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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