|
各位达人帮看看以下脚本错在那里,怎样修正。
#NoTrayIcon
#Region ;**** 参数创建于 ACNWrapper_GUI ****
#AutoIt3Wrapper_icon=ICO\easyMule.ico
#AutoIt3Wrapper_outfile=easyMule.exe
#EndRegion ;**** 参数创建于 ACNWrapper_GUI ****
$var = DriveStatus( "Q:\" )
if $var = "READY" then
run("q:\easyMule\emule.exe")
else
AdlibEnable("Kill")
run("d:\StrongDisk Pro\StrDisk.exe e:\虚拟磁盘\Soft.grd")
WinWaitActive("装载磁盘","装载")
ControlSetText("装载磁盘","装载","Edit2","52212")
ControlClick("装载磁盘","装载","ComboBox1")
Send("{Q}")
send("{ENTER 2}")
Sleep(2000)
run("q:\easyMule\emule.exe")
AdlibDisable()
Func Kill()
If WinExists("Windows 安全警报") then
ControlClick("Windows 安全警报","","Button4")
EndIf
EndFunc
EndIf |
|