Ikoh
07-25-03, 03:43 PM
Greetings,
I found this script that opens up a IE window and brings you to the site that is in the script. you can set this to refresh every 10 seconds or 10 hours... good for watching auctions etc. I am looking for a way to close the window after it opens for X amout of time. Here is what I have so far.
WshShell = WScript.CreateObject("WScript.Shell");
while (WshShell.Popup("Auto Refresh Ebay every 1 min?",10,"1.1.0",1) < 2) {
WshShell.Run("http://www.ebay.com");
WScript.Sleep(1000 * 1 * 60);
}
Also does anyone know a good web site to look for examples for this type of thing?
Thank you for your time.
Sincerely,
Mark Laudenbach
I found this script that opens up a IE window and brings you to the site that is in the script. you can set this to refresh every 10 seconds or 10 hours... good for watching auctions etc. I am looking for a way to close the window after it opens for X amout of time. Here is what I have so far.
WshShell = WScript.CreateObject("WScript.Shell");
while (WshShell.Popup("Auto Refresh Ebay every 1 min?",10,"1.1.0",1) < 2) {
WshShell.Run("http://www.ebay.com");
WScript.Sleep(1000 * 1 * 60);
}
Also does anyone know a good web site to look for examples for this type of thing?
Thank you for your time.
Sincerely,
Mark Laudenbach