举报
#NoTrayIcon #include <GUIConstants.au3> ;总时长设置(秒) $time = 5 $i = 0 GUICreate("记事本将在" & $time & "秒后打开...", 300, 60) $progressbar = GUICtrlCreateProgress(5, 10, 290, 40) GUISetState() While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case Else $i = $i + 1 GUICtrlSetData($progressbar, $i) Sleep($time * 10) If $i = 101 Then Run("notepad.exe") Exit EndIf EndSwitch WEnd
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2025-2-27 21:52 , Processed in 0.074000 second(s), 19 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2024 Discuz! Team.