借用78391493兄弟的脚本改了下:
#include <GUIConstantsEx.au3>
#include <ProgressConstants.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <ComboConstants.au3>
Opt('GUIcloseOnEsc', 0)
#Region ### START Koda GUI section ### Form=
$Form3 = GUICreate("安装", 413, 173, -1, -1, '')
$Label1 = GUICtrlCreateLabel("正在安装,请稍候...", 160, 88, 108, 17)
$Pic1 = GUICtrlCreatePic("xp.jpg", 0, 0, 413, 78, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
$Progress1 = GUICtrlCreateProgress(24, 104, 361, 17)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
$percent = @SEC
WinSetTitle('', '正在安装,请稍候...', $percent & "% 安装" )
WEnd
|