Jonathan
2010-08-22 16:50:11 UTC
so...
How do i make the batch file do the same thing the script file is doing while still executing the batch file?
Here is the VBS script code i want completed:
WScript.Sleep 1800
WScript.Sleep 1000
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "notepad"
WScript.Sleep 100
WshShell.AppActivate "Notepad"
WScript.Sleep 500
WshShell.SendKeys "Hel"
WScript.Sleep 500
WshShell.SendKeys "lo "
WScript.Sleep 500
WshShell.SendKeys ", ho"
WScript.Sleep 500
WshShell.SendKeys "w a"
WScript.Sleep 500
WshShell.SendKeys "re "
WScript.Sleep 500
WshShell.SendKeys "you"
WScript.Sleep 500
WshShell.SendKeys "? "
WScript.Sleep 500
WshShell.SendKeys "I a"
WScript.Sleep 500
WshShell.SendKeys "m g"
WScript.Sleep 500
WshShell.SendKeys "ood"
WScript.Sleep 500
WshShell.SendKeys " th"
WScript.Sleep 500
WshShell.SendKeys "ank"
WScript.Sleep 500
WshShell.SendKeys "s! "
WScript.Sleep 500
WshShell.SendKeys "So "
WScript.Sleep 500
WshShell.SendKeys "Yo"
WScript.Sleep 500
WshShell.SendKeys "u'r"
WScript.Sleep 500
WshShell.SendKeys "e Pro"
WScript.Sleep 500
WshShell.SendKeys "bab"
WScript.Sleep 500
WshShell.SendKeys "ly "
WScript.Sleep 500
WshShell.SendKeys "Won"
WScript.Sleep 500
WshShell.SendKeys "de"
WScript.Sleep 500
WshShell.SendKeys "ri"
WScript.Sleep 500
WshShell.SendKeys "ng Wh"
WScript.Sleep 500
WshShell.SendKeys "at"
WScript.Sleep 500
WshShell.SendKeys " The "
WScript.Sleep 500
WshShell.SendKeys "He"
WScript.Sleep 500
WshShell.SendKeys "ll "
WScript.Sleep 500
WshShell.SendKeys "is "
WScript.Sleep 500
WshShell.SendKeys "go"
WScript.Sleep 500
WshShell.SendKeys "in"
WScript.Sleep 500
WshShell.SendKeys "g O"
WScript.Sleep 500
WshShell.SendKeys "n, "
WScript.Sleep 500
WshShell.SendKeys "To"
WScript.Sleep 500
WshShell.SendKeys "o B"
WScript.Sleep 500
WshShell.SendKeys "ad..."
WScript.Sleep 1000
WshShell.SendKeys " "
WScript.Sleep 500
WshShell.SendKeys "Virus Loading."
WScript.Sleep 500
WshShell.SendKeys "."
WScript.Sleep 500
WshShell.SendKeys "."
WScript.Sleep 500
WshShell.SendKeys "."
WScript.Sleep 500
WshShell.SendKeys "."
WScript.Sleep 500
WshShell.SendKeys "."
WScript.Sleep 500
WshShell.SendKeys "."
WScript.Sleep 500
WshShell.SendKeys "."
WScript.Sleep 500
WshShell.SendKeys "."
WScript.Sleep 500
WshShell.SendKeys "Complete! "
WScript.Sleep 500
WshShell.SendKeys "Ha"
WScript.Sleep 500
WshShell.SendKeys "ve "
WScript.Sleep 500
WshShell.SendKeys "a "
WScript.Sleep 500
WshShell.SendKeys "Ni"
WScript.Sleep 500
WshShell.SendKeys "ce "
WScript.Sleep 500
WshShell.SendKeys "Life."