找回密码
 加入
搜索
查看: 1617|回复: 1

有问题的进度条请高手指点!!!!

[复制链接]
发表于 2008-7-24 07:43:11 | 显示全部楼层 |阅读模式
#NoTrayIcon
#include <GUIConstants.au3>
GUICreate("记事本将在60秒后打开...",300, 60)

$progressbar = GUICtrlCreateProgress(5, 10, 290, 40)
GUISetState()
$i = 1
While 1
        If $i = 100 Then
                $i = 1
        EndIf
        GUICtrlSetData($progressbar, $i)
        $i = $i + 1
        ExitLoop
WEnd

$var = Sleep(6000)
If $var Then Run("notepad.exe")

[ 本帖最后由 renren 于 2008-7-24 23:28 编辑 ]
 楼主| 发表于 2008-7-24 08:35:43 | 显示全部楼层
http://www.autoitx.com/forum.php ... &extra=page%3D1
谢谢 好人人帮忙。。。。。

[ 本帖最后由 cls822001 于 2008-7-24 08:37 编辑 ]
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-5-19 20:20 , Processed in 0.067827 second(s), 20 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表