Sign in to follow this  
Followers 0
ghareeb

web pages in loop statement

3 posts in this topic

Hi all

i have some problem in my script

i want to open multi web pages in series with simple loop statement

as follow

#include <IE.au3>

$Total=2
Dim $oIE[$Total]
Dim $site[$Total]

$site0 = "http://www.google.com"
$site1 = "http://www.yahoo.com"

For $x=0 to $Total-1

    $oIE[$x] = _IECreate ($site[$x])

Next

but it didnt match the site number

i need in loop only can you help me


Are you read anything about islamok.... to know about realy Islamhttp://www.islam-guide.com click here====>Islam: Misunderstood throughout the World

Share this post


Link to post
Share on other sites



Try this.

#Include <IE.au3>

$Total=2

Dim $oIE[$Total]

Dim $site[$Total]

$site[0] = "http://www.google.com"

$site[1] = "http://www.yahoo.com"

For $x=0 to $Total-1

$oIE[$x] = _IECreate ($site[$x])

Next

Kurt

Awaiting Diablo III..

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0