找回密码
 加入
搜索
查看: 1911|回复: 1

[AU3基础] 请教,为什么这个脚本在win7下没用

[复制链接]
发表于 2015-1-16 23:47:12 | 显示全部楼层 |阅读模式
在XP下使用完全没问题
但是在win7下没用,不会输入密码


send("!^+{f6}")
WinWait("Deep Freeze Enterprise")
WinWaitActive("Deep Freeze Enterprise")
ControlSetText("Deep Freeze Enterprise","","TEdit1","12345678")
send("{enter}")
WinWaitActive("Deep Freeze Enterprise")
ControlClick("Deep Freeze Enterprise", "","TRadioButton1")
WinWaitActive("Deep Freeze Enterprise")
ControlClick("Deep Freeze Enterprise", "","TButton2")
WinWaitActive("Deep Freeze")
ControlClick("Deep Freeze", "","TButton1")
shutdown(2)
发表于 2015-1-17 17:01:15 | 显示全部楼层
用窗口工具看下控件值和窗口值对不对
您需要登录后才可以回帖 登录 | 加入

本版积分规则

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

GMT+8, 2024-12-26 21:22 , Processed in 0.242628 second(s), 24 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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