|
sentinel -> Help with VBS Script (3/22/2007 10:44:17)
|
Hey all.... I have bunch of VBS scripts running on my windows server that perform scheduled maintenance and such on my site. Unfortunately the only way I know how to do this is by having the systems run web pages automatically for me on localhost. This system does the job well for me with the exception of 50-60 open IE windows. I tried adding some code to my vbscript that closes the window automatically but it prompts for a YES or NO to close window. I need this not to prompt and just close. Here is a sample VB script: Dim WshSHell
set WshSHell = createobject ("wscript.shell")
WshSHell.Run("iexplore.exe http://localhost/file.asp")
WshSHell.Sendkeys "% (F) (c)" After this script runs it asks me if i want to close the window. I just need it to close so I don't need to log in for maintenance. Thanks
|
|
|
|