vbs设置若干秒后显示下一个窗口

2025-01-02 02:13:39
推荐回答(2个)
回答1:

这个用 Wscript.Shell 就可以了...
简单示例如下:
Option Explicit
Const INT_DELAY = 5
Dim objShell
Set objShell = CreateObject("Wscript.Shell")
objShell.Popup "Hello...", INT_DELAY, "^o^", vbOKOnly
MsgBox "Nice to meet you...", vbOKOnly, ":-)"
Set objShell = Nothing

回答2:

CreateObject("Wscript.Shell").popup "Hello",5,"标题", 界面