john pfeiffer
  • Home
  • Categories
  • Tags
  • Archives

Input box sleep.vbs

Set WshShell = WScript.CreateObject("WScript.Shell") 
age = InputBox("Please type your age.") 
newage = age + 5 
WshShell.Popup "In 5 years, you will be " & newage & ". (after clicking the ok, 3 secs later, another popup)"

WScript.Sleep 3000
WshShell.Popup "hello world"

REM jscript = WScript.Sleep (5000);

  • « Lastlogontimestamp vbs
  • Ie trust sites.vbs »

Published

Feb 6, 2010

Category

bat-vbs-perl

~37 words

Tags

  • bat-vbs-perl 51
  • box 3
  • input 7
  • sleep.vbs 1