|
Answer» Needing a script\BATCH to open IE - one site on each monitor (dual)
Getting it to open the sites on each window of IE but no luck tryin to get it opening on separate windows..
This is for a dual monitor display purpose so it loads on login!
Shot guys well i USE a simpel WB script in my work for just loading random PAGES as a part of a network test batch. maby u can modify it for your purpose, here is the code
Code: [Select]Set objExplorer = WScript.CreateObject("InternetExplorer.Application") objExplorer.Navigate "http://www.aftonbladet.se" objExplorer.ToolBar = 0 objExplorer.StatusBar = 1 objExplorer.Width = 500 objExplorer.Height = 500 objExplorer.Left = 0 objExplorer.Top = 0 objExplorer.Visible = 1
For i=2 To 999
Wscript.Sleep 10000 objExplorer.Navigate "http://www.lunarstorm.se" Wscript.Sleep 10000 objExplorer.Navigate "http://www.idg.se" Wscript.Sleep 10000 objExplorer.Navigate "http://www.expressen.se" Wscript.Sleep 10000 objExplorer.Navigate "http://www.aftonbladet.se" Wscript.Sleep 10000 objExplorer.Navigate "http://www.rockparty.se"
Next
just copy into a txt file and rename it "myscript.txt --> myscript.vbs"
as u might see its a simple loop. just remove the "For i=2 To 999 " and "next" lines to remove the loop.
good luck
|