首页 > 其他 > 详细

VBS定时关闭的弹窗

时间:2014-11-26 18:18:22      阅读:361      评论:0      收藏:0      [点我收藏+]
‘类似msgbox
‘定时停留弹出框函数
Sub Print(text,timeout,title)
    Dim WshShell
    Set WshShell = CreateObject("WScript.Shell")
    WshShell.Popup text,timeout,title
    Set WshShell = nothing
End Sub

 

用法:
Print "弹窗显示的内容",10,"对话框在10秒内自动关闭!"

VBS定时关闭的弹窗

原文:http://www.cnblogs.com/futrueface/p/4123411.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!