VBScript References Part 1...
[Display Standard Output]
Wscript.Echo "Hello Samson"
dim Msg
Msg=MsgBox("Hello Samson!",0,"VBS Example")
0 = (vbOKOnly) Ok button only
dim Msg
Msg=MsgBox("Hello Samson!",2,"VBS Example")
2 = (vbAbortRetryIgnore) Abort, Retry, & Ignore buttons
dim Msg
Msg=MsgBox("Hello Samson!",16,"VBS Example")
16 = (vbCritical) Critical message icon
Set WshShell = Wscript.CreateObject("Wscript.Shell")
WshShell.Popup "Hello Samson!",, "WshShell Popup"
Set WshShell = Wscript.CreateObject("Wscript.Shell")
WshShell.Popup "Hello Samson!",3, "Close in 3 secs",16
3 = Number of seconds to close, 16 = Critical message icon
Posted by Samson Loo