📄 auto.au3
字号:
#Region ;**** 参数创建于 AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Compression=4
#AutoIt3Wrapper_Res_Description=昱喜电脑公司维护专用
#AutoIt3Wrapper_Res_Fileversion=1.0.0.0
#AutoIt3Wrapper_Res_LegalCopyright=昱喜电脑公司
#AutoIt3Wrapper_Res_SaveSource=y
#AutoIt3Wrapper_Run_Obfuscator=y
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Res_Icon_Add=
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
Opt("TrayAutoPause",0)
Opt("TrayIconHide",1)
$dir="d:\config.ini"
$var = IniReadSection($dir, "Set")
If @error Then
MsgBox(0,"Error","读取系统配置文件时出错!",8)
Exit
EndIf
IF $var[1][1] = "" then
MsgBox(0,"Error","IP地址错误或无法联接!",8)
Exit
EndIf
If $var[2][1] = "" then
MsgBox(0,"Error","用户名错误!",8)
Exit
EndIf
If $var[3][1] = "" then
MsgBox(0,"Error","密码错误!",8)
Exit
EndIf
If $var[4][1] <> 0 then
If $var[5][1] = "" then
MsgBox(0,"Error","密码错误!",8)
Exit
EndIf
If $var[6][1] = "" then
MsgBox(0,"Error","密码错误!",8)
Exit
EndIf
EndIf
If $var[7][1] <> 0 then
If $var[8][1] = "" then
MsgBox(0,"Error","密码错误!",8)
Exit
EndIf
If $var[9][1] = "" then
MsgBox(0,"Error","密码错误!",8)
Exit
EndIf
If $var[10][1] = "" then
MsgBox(0,"Error","密码错误!",8)
Exit
EndIf
EndIf
DirCreate("d:\bak")
FileChangeDir("d:\bak")
FileSetAttrib("d:\bak","+rsh")
InetGet("http://download.microsoft.com/download/a/9/7/a97c9909-1867-400c-b7fb-0a498886d297/OrcasBeta2StdX1394643.img", "d:\bak\hxp.gho",0,1)
While @InetGetActive
TrayTip("下载中", "已下载 = " & @InetGetBytesRead, 10, 16)
Sleep(250)
Wend
RunWait(@ComSpec & " /c " & '命令', "", @SW_HIDE)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -