monsterisht
Programmer
dim X
dim Y
set oShell=createobject("wscript.shell")
set sapi=Wscript.CreateObject("SAPI.Spvoice")
X=MsgBox("Would you like to shut down your pc? answer:Yes/No","AUTOMATIC SYSTEM SHUTDOWN BY MONSTERISHT")
if X="Yes" then,
Y=MsgBoxx("Enter time left for shutdown(time in minutes...):","AUTOMATIC SYSTEM SHUTDOWN!")
sapi.speak Y+"minutes left to SHUTOWN"
oShell.Run "shutdown.exe -s -t "&(Y*60)&" -f -c""system is now set for automatic shutown GOOdBYE"
endif
what's the problem with this code. any suggestions?
dim Y
set oShell=createobject("wscript.shell")
set sapi=Wscript.CreateObject("SAPI.Spvoice")
X=MsgBox("Would you like to shut down your pc? answer:Yes/No","AUTOMATIC SYSTEM SHUTDOWN BY MONSTERISHT")
if X="Yes" then,
Y=MsgBoxx("Enter time left for shutdown(time in minutes...):","AUTOMATIC SYSTEM SHUTDOWN!")
sapi.speak Y+"minutes left to SHUTOWN"
oShell.Run "shutdown.exe -s -t "&(Y*60)&" -f -c""system is now set for automatic shutown GOOdBYE"
endif
what's the problem with this code. any suggestions?