I would like to create a vb script that would ask a user to input a number of seconds (e.g. InputBox)
This number would then be the amount of time before an event or comand would be executed.
e.g.
dim number_seconds, Shell
number_seconds=InputBox("please enter the amount of seconds you would like the computer to delay shutting down"
***number inputted applied to timer function to produce delay***
then
Set Shell=WScript.CreateObject("WScript.Shell"
Shell.Run "Run Dll32.exe user.exe,ExitWindows"
I'm sorry if this isn't too clear, all I want is to know the code for a timer.If anyone can help I'd be really grateful.
Thanks y'all
JoE
This number would then be the amount of time before an event or comand would be executed.
e.g.
dim number_seconds, Shell
number_seconds=InputBox("please enter the amount of seconds you would like the computer to delay shutting down"
***number inputted applied to timer function to produce delay***
then
Set Shell=WScript.CreateObject("WScript.Shell"
Shell.Run "Run Dll32.exe user.exe,ExitWindows"
I'm sorry if this isn't too clear, all I want is to know the code for a timer.If anyone can help I'd be really grateful.
Thanks y'all
JoE