Sign in to follow this  
Followers 0
xXx

Running more Sites

4 posts in this topic

#1 ·  Posted (edited)

Hi

Case $msg = $Button1
   $while = 1
   While $while <= 2
    Run(@ComSpec & " /c " & "start http://www.somepage.com/php?user=" & $while, "", @SW_HIDE)
    $while = $while + 1

i think you know what this does. so now my problem is that i want to run those sites in one window

like: it runs first http://www.somepage.com/php?user=1

then it would wait 0.1 seconds (with sleep) and run in the same window http://www.somepage.com/php?user=2 and so on...

i need to know how to do it to run in the same window (like overwrite)

thanks in advance

Edited by xXx

Share this post


Link to post
Share on other sites



Use IE.au3... see help

$oIE = _IECreate("www.webpage1.com")

Sleep(2000)

_IENavigate($oIE, "www.webpage2.com")

Sleep(2000)

_IENavigate($oIE, "www.webpage3.com")

*** example idea only

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Use IE.au3... see help

$oIE = _IECreate("www.webpage1.com")

Sleep(2000)

_IENavigate($oIE, "www.webpage2.com")

Sleep(2000)

_IENavigate($oIE, "www.webpage3.com")

*** example idea only

8)

and what if i want to run it in Firefox? if not possible ill stick with IE :lmao: Edited by xXx

Share this post


Link to post
Share on other sites
_FirefoxNavigate() doesn't exist as far as I know (something to do with IE having a DOM and Firefox not having one). You're welcome to rectify the situation - good luck!

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