dunniu 发表于 2015-1-16 23:47:12

请教,为什么这个脚本在win7下没用

在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)

sam_ai 发表于 2015-1-17 17:01:15

用窗口工具看下控件值和窗口值对不对
页: [1]
查看完整版本: 请教,为什么这个脚本在win7下没用