找回密码
 加入
搜索
查看: 3071|回复: 5

[AU3基础] controlsend能不能发ALT+1组合键

[复制链接]
发表于 2011-3-7 07:16:31 | 显示全部楼层 |阅读模式
controlsend能不能发ALT+5组合键?我试过以下几种方法均不成功。。。
ControlSend("程序监控","","","{!5}")
ControlSend("程序监控","","","!{5}")
ControlSend("程序监控","","","{!}{5}")
如果只是发送按键5的话则成功
ControlSend("程序监控","","","{5}")

请问ALT+5到底是怎么发才对呢,谢谢
 楼主| 发表于 2011-3-7 13:14:28 | 显示全部楼层
想了想,又试了下面这个,也是不行。
ControlSend("程序监控","","","!5")
发表于 2011-3-7 19:29:08 | 显示全部楼层
试试
send("{altdown}")
ControlSend("程序监控","","","5")
send("{altup}")
发表于 2011-3-7 22:15:07 | 显示全部楼层
ControlSend ( "窗口标题", "窗口文本", 控件ID, "字符串" [, 标志] )
 楼主| 发表于 2011-3-8 09:10:37 | 显示全部楼层
试试
send("{altdown}")
ControlSend("程序监控","","","5")
send("{altup}")
pcbar 发表于 2011-3-7 19:29


版主,我现在就是这么干的,呵呵
没办法了,只能这么折中了
发表于 2011-3-8 09:34:39 | 显示全部楼层
我是新手。同问。。。。
您需要登录后才可以回帖 登录 | 加入

本版积分规则

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

GMT+8, 2024-9-21 13:18 , Processed in 0.078474 second(s), 24 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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