I'm using a short vbs file which starts IE, navigates to a URL, and then closes IE. My problem seems to be that the URL is SSL encrypted, so it needs credentials. I've saved a username and password and the script below seems to work fine unless it's running unattended. It's running on Server 2003.
The script is below.:
Is this the best way to approach this? I've never tried using VB this way (I'm not a VB guy) but it's the only thing I could think of to get past the login dialog.
Thanks for your help.
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "iexplore https://myurl.aspx?SendMail=true", 9
WScript.Sleep 10000 ' Give ie some time to load
'Accept the credentials and close the browser