Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Automatically Dismiss a Message Box After a Specified Length of TimeContent of Automatically Dismiss a Message Box After a Specified Length of Time.vbsMD5 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 :: |