|
#NoTrayIcon
#include <file.au3>
#include <array.au3>
$bt="世界之窗浏览器 2.3 Final (2.3.2.1) 安装"
$bt1="许可证协议"
$bt2="安装选项"
$bt3="选择安装位置"
$bt4="正在完成“世界之窗浏览器 2.3 Final (2.3.2.1)”安装向导"
$part=IniRead("setpart.ini","softpart","part","")
dim $Var
$Var = StringRegExp(@ScriptDir, '[^\\]+$', 1, 1)
run("TheWorld2.3Final_2.3.2.1_chs.exe","",@SW_MINIMIZE)
winwait($bt,$bt1)
ControlClick($bt,$bt1,"Button4")
ControlClick($bt,$bt1,"Button2")
winwait($bt,$bt2)
ControlClick($bt,$bt2,"Button2")
winwait($bt,$bt3)
ControlSend($bt,$bt3,"Edit1",$part & $Var[0])
ControlClick($bt,$bt3,"Button2")
winwait($bt,$bt4)
ControlClick($bt,$bt4,"Button4")
ControlClick($bt,$bt4,"Button2")
Exit
脚本是在一个叫"世界之窗"的中文文件夹,但安装完后发现路径有问题"C:\Program Files\^E`A′° 2.3\TheWorld.exe"
请问有什么解决方法
[ 本帖最后由 moon13c 于 2009-1-8 00:40 编辑 ] |
|