Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


navigate multiple ie pages...

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,64208
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> navigate multiple ie pages...
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 navigate multiple ie pages... - 9/11/2008 4:57:20 AM   
  xjghost

 

Posts: 5
Score: 0
Joined: 9/11/2008
Status: offline
I have a script that I use to loginto a web site.  I ahve bene trying to get it to navigate to specific links that I put in either the script or a batch file.  First I tried this.

Set IE = CreateObject("InternetExplorer.Application")
With IE
       .navigate "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
       .navigate "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
       .navigate "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
       .navigate "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
       .navigate "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
       .visible=1
End With
'wait a while until IE as finished to load
Do while IE.busy
loop
Set IE = Nothing
WScript.Quit(0)

It goes to the last link.  What should i be using to get it to open each page seperately?  Any help would be appreciateed.
 
 
Post #: 1
 
 RE: navigate multiple ie pages... - 9/11/2008 9:29:52 PM   
  ninjamaster

 

Posts: 107
Score: 0
Joined: 1/23/2007
Status: offline
Found a yucky way of doing this

By creating a seperate call for IE you can open each URL using a seperate IE process...


      

NOTE : - You'll need to take the [LINK] parts out of .Navigate :)

Loading the URL's into an array and looping round might work?

< Message edited by ninjamaster -- 9/11/2008 9:32:13 PM >

(in reply to xjghost)
 
 
Post #: 2
 
 RE: navigate multiple ie pages... - 9/12/2008 12:22:34 AM   
  dm_4ever


Posts: 2669
Score: 46
Joined: 6/29/2006
From: Orange County, California
Status: offline
Create a function to do it for you and help avoid repetitive code.

_____________________________

dm_4ever

My philosophy: K.I.S.S - Keep It Simple Stupid
Read Me: http://www.visualbasicscript.com/m_24727/tm.htm
Frequently Asked Stuff: http://www.visualbasicscript.com/m_47117/tm.htm

(in reply to ninjamaster)
 
 
Post #: 3
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> navigate multiple ie pages... Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts