Jump to content
Sign in to follow this  
Sparrowlord

IE_Create

Recommended Posts

Sparrowlord

Hi,

I'm trying to make a script to interact with a flash application on a website however with the default IE_Create() function it loads Windows Internet Explorer x64 by default.. which isn't able to use flash content.

How can I change it to use 32 bit Windows Internet Explorer?

Thanks.

Share this post


Link to post
Share on other sites
funkey

Use Shellexecute or Run and then _IEAttach


Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the Universe
trying to produce bigger and better idiots.
So far, the Universe is winning.

Share this post


Link to post
Share on other sites
Sparrowlord

I'm trying to use:

Run("C:\Program Files (x86)\Internet Explorer\iexplore.exe")

    While 1
        If WinExists("Blank Page - Windows Internet Explorer") Then
            $oIE = _IEAttach("Blank Page - Windows Internet Explorer", "WindowTitle")
            _IENavigate($oIE, "http://www.google.com")
            ExitLoop
        EndIf
    WEnd

It finds the window.. just doesn't attach.. what am I doing wrong?

Share this post


Link to post
Share on other sites
funkey

Try this:

Opt("WinTitleMatchMode", 2)
Local $Url = "[url="http://www.google.com"]http://www.google.com[/url]"
Run("C:\Program Files (x86)\Internet Explorer\iexplore.exe " & $Url)
WinWait(" - Windows Internet Explorer")
$oIE = _IEAttach($Url, "URL")

Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the Universe
trying to produce bigger and better idiots.
So far, the Universe is winning.

Share this post


Link to post
Share on other sites
Sparrowlord

thanks :D

Edited by Sparrowlord

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  

×