So today I was working on scripting my logon process. It opens up 4 applications, and then goes into opening web browsers. I had a heck of a time trying to get the web browsers to open in multiple tabs but I finally got it. Now I want those windows to open minimized.
The command I run is:
wscript.exe "c:\documents and settings\%username%\two.js"
the contents of two.js are:
var navOpenInBackgroundTab = 0x1000;
var oIE = new ActiveXObject("InternetExplorer.Application");
oIE.Navigate2(
www.yahoo.com);
oIE.Navigate2(
www.google.com, navOpenInBackgroundTab);
oIE.Visible = true;
If someone could tell me how to modify this script, that would be awesome. I am also open to other suggestions.
Thanks in advance