I found a script online that opens URLs in IE tabs. The example worked perfectly.
I replaced the example URLs with my work URLS and it worked fine until I put in 6 URLs.
Windows Script Host
Script: C:\Users\Mike\Desktop\URL.js
Line 25
Character 9
Error: Unspecified Error
Code: 80004005
Source: (null)
Can someone help me with correcting this code? I need it for work by Monday
Thanks
Mike
var navOpenInNewWindow = 0x1;
var navOpenInNewTab = 0x800;
var navOpenInBackgroundTab = 0x1000;
var intLoop = 0;
var intArrUBound = 0;
var navFlags = navOpenInBackgroundTab;
var arrstrUrl = new Array(5);
var objIE;
intArrUBound = arrstrUrl.length;
arrstrUrl[0] = "https://collaborate.wellpoint.com/sites/retentionresource/sitepages/home-reorg.aspx";
arrstrUrl[1] = "https://callcare.wellpoint.com/ccb-wgs/login.asp";
arrstrUrl[2] = "https://brokerportal.anthem.com/ehb/web/bkr/acc/login.htm?wlp-brand=anthem";
arrstrUrl[3] = "https://paybill.princetonecom.com/cgi/wellpointEC-bin/vortex.cgi";
arrstrUrl[4] = "http://hipaaapps.corp.anthem.com/airscorp/aspx/searchindividual.aspx";
arrstrUrl[5] = "https://portal.056d.dedicated.lync.com/wellpoint/meet/jennifer.hoover/L1P87C47";
objIE = new ActiveXObject("InternetExplorer.Application");
objIE.Navigate2(arrstrUrl[0]);
for (intLoop=1;intLoop<=intArrUBound;intLoop++) {
objIE.Navigate2(arrstrUrl[intLoop], navFlags);
}
objIE.Visible = true;
objIE = null;