|
This may sound like a basic question, but I am new to Scripting and want to expand my knowledge over time, but need to get this little project sorted first.
I have a large screen display that is going to be on a wall in a warehouse, to display live order picking information.
The information is displayed by a web page we have set up.
The details are drawn from an SQL database and at the moment if there are issues retrieving the data, (server restarts etc), I need the screen to close and reopen automatically.
What I have done so far is write a simple VBScript to open the page, and set it as a scheduled task to run this script ever half hour.
What I am trying to do is include a prompt in the script to close all instances of the IE window that are running.
I have the script opening the IE window in kiosk mode so am looking at using an Alt F4 key instruction.
What I am looking for is the syntax to include this task.
This is what I have so far.
set Shell = createobject("wscript.shell")
Shell.run "iexplore -k http://www.microsoft.com/en/us/default.aspx"
Suggestions would be appreciated.
|