Jump to content

IECreate Problem with Chrome running


Recommended Posts

Hi all.

I have problem with _IECreate function especially with the Chrome running.

#include <IE.au3>

HotKeySet('{f9}','_A')

Func _A()
    $oIE = _IECreate('http://google.com',0,1)
EndFunc

While 1

WEnd

This is my simplified code and it shows same problem that i'm having.

When I press the hotkey - 'F9' while Chrome is running, the script add a new tab to the chrome browser instead of create new IE.

Since the web page is not opened in IE, I wasn't able to use other IE functions such as _IEFormGetObjByName.

My default browser is IE and I have no clue why the script opens the page in chrome.

Is there any possible work-around or suggestions?

Edited by WannaLearn
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...