Web Development
3 replies
by ntoz
Hey here is a start, no bells or gagets, just something I threw together for you to get started. You can also have it launch multiple instances of IE and if you can get the object model for Netscape, the same. Here is a basic start though, you will need to have the latest version of WSH 2.0 loaded. You can download it from MS if you dont have it... Let me know if you need a little more help, but this should get you going. It currently starts a single instance of IE and switches between two sites, but if you follow the script, you should be able to modify it and add more to it.
Pete
'///////////////////////////////////////////////////
'$Workfile iestress.vbs
'Copywrite 2000 RKS Technologies, NTOZ written for jkeller@som.llu.edu
'//////////////////////////////////////////////////
'Sets scripting to require assignment of variables
Option Explicit
'Declare Variables
DIM IEo, X
Set IEo = CreateObject("Internetexplorer.application")
IEo.gohome
IEo.visible = true
Do Until x = 5
iEo.navigate "http://www.msn.com"
slp
Ieo.navigate "https://www.techrepublic.com"
x = x + 1
slp
loop
'Kills object instance
IEo.quit
Sub slp
wscript.sleep (4000)
End Sub
by jkeller
by jkeller
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending