找回密码
 加入
搜索
查看: 5851|回复: 7

[AU3基础] [已解决]如何打开复选框,并选中一项

  [复制链接]
发表于 2011-5-2 23:17:17 | 显示全部楼层 |阅读模式
本帖最后由 yinbinly 于 2011-5-3 19:21 编辑

本人做自动安装GGHOST一键恢复,遇到的问题,上图

我使用MouseClick无法实现,我想点下复选框,然后选择第二项。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?加入

×
发表于 2011-5-2 23:25:02 | 显示全部楼层
首先那个不是复选框,看看ControlCommand
发表于 2011-5-3 08:14:52 | 显示全部楼层
那个是combox.
 楼主| 发表于 2011-5-3 18:39:03 | 显示全部楼层
回复 2# netegg


    ControlCommand抓取不到
 楼主| 发表于 2011-5-3 18:39:24 | 显示全部楼层
回复 3# mo_shaojie


    combox这个也无法实现
发表于 2011-5-3 18:47:25 | 显示全部楼层
本帖最后由 netegg 于 2011-5-3 18:50 编辑

ControlCommand ( "窗口标题", "窗口文本", 控件ID, "SelectString", '字符串')
发表于 2011-5-3 19:07:52 | 显示全部楼层
WinActivate("GGhost一键恢复 安装程序    ")
ControlCommand ( "GGhost一键恢复 安装程序", "", "ComboBox1", "SetCurrentSelection" ,0);选择第一个,即D盘
ControlCommand ( "GGhost一键恢复 安装程序", "", "ComboBox2", "SetCurrentSelection" ,1);选择第二个,即mbr方式
ControlCommand ( "GGhost一键恢复 安装程序", "", "ComboBox3", "SelectString" ,"30");选择30秒
多看帮助啊
 楼主| 发表于 2011-5-3 19:20:08 | 显示全部楼层
回复 7# pcbar


    谢谢斑竹,我以前只选第二个,就是说只弄第二条代码,下次会注意了
您需要登录后才可以回帖 登录 | 加入

本版积分规则

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

GMT+8, 2024-10-2 06:37 , Processed in 0.089873 second(s), 21 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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