Jump to content

IE_Create


Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...