yamhpsxn 发表于 2010-1-12 18:22:04

千千静听自动安装脚本

$a = "千千静听"

$b = "欢迎使用"

Run("ttpsetup.exe")

WinWaitActive($a,$b)

ControlClick ($a,"","Button2")

WinWaitActive($a)

ControlClick ($a,"","Button2")

WinWaitActive($a)

ControlClick ($a,"","Button2")

WinWaitActive($a)

ControlSetText($a,"","Edit1","d:\Program Files\TTPlayer")

ControlClick ($a,"","Button4")

WinWaitActive($a)

ControlClick ($a,"","Button10")

WinWaitActive($a,"完成")

ControlCommand($a,"", "Button1", "UnCheck", "")

ControlCommand($a,"", "Button3", "UnCheck", "")

ControlClick ($a,"","Button15")

FileDelete(@DesktopDir&"\千千音乐.lnk")
exit
页: [1]
查看完整版本: 千千静听自动安装脚本