Loading
Scriptbox
 VBScript Links 
 About VBscript 
 JavaScript Links 
 About JavaScript 
 Powershell Links 
 PSCRIPT the Script Launcher 
 PowerShell Shortcut Keys 
 About Powershell 
     VBScript
    JavaScript
    Powershell
Disclaimer
Contact
Latest 10 Scripts
Script search
  :: { Category } :: 0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ
         

Search Options:  Automatically  Dismiss  a  Message  Box  After  a  Specified  Length  of  Time  

 Content of Automatically Dismiss a Message Box After a Specified Length of Time.vbs
MD5 Hash: E6A822E2B845D9E030CB66571E75AF52
Const wshYes = 6
Const wshNo = 7
Const wshYesNoDialog = 4
Const wshQuestionMark = 32

Set objShell = CreateObject("Wscript.Shell")

intReturn = objShell.Popup("Do you want to delete this file?", _
10, "Delete File", wshYesNoDialog + wshQuestionMark)

If intReturn = wshYes Then
Wscript.Echo "You clicked the Yes button."
ElseIf intReturn = wshNo Then
Wscript.Echo "You clicked the No button."
Else
Wscript.Echo "The popup timed out."
End If



   © 2008 - 2013 Boris Toll      :: Scripts available: 6.481 ::      :: scriptbox.toll.at ::      :: powered by www.toll.at ::
  Google Entries:n/a
  Yahoo Backlinks:n/a
  Live Backlinks:n/a
  del.icio.us Bookmarks:n/a
  Technorati Links:n/a