Jump to content

_IECreate attaches to Maxthon browser no matter what param.


b0x4it
 Share

Recommended Posts

I am running the following code:

#include<IE.au3>
$sUrl = "http://www.google.com"
$oIE = _IECreate($sUrl, 0, 0, 0, 0)
_IEPropertySet ($oIE, "menubar", 0)
_IEPropertySet ($oIE, "addressbar", 0)
_IEPropertySet ($oIE, "statusbar", 0)
_IEPropertySet ($oIE, "toolbar", 0)
_IEPropertySet ($oIE, "silent", 0)
_IEPropertySet ($oIE, "resizable", 0)
_IENavigate ($oIE, $sUrl)
_IELoadWait ($oIE)

It works perfectly when there is no Maxthon opened. But, once I open a Maxthon instance, this code opens a new tab in Maxthon and loads google in it.

what's wrong and any solution?

thanks in advance for your reply!

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...