Sign in to follow this  
Followers 0
Kinhow

IENavigate pops IE every time

3 posts in this topic

So every time I go through a _IENavigate, the IE browser pops into my face.

Is there a way to keep the window on the background navigating while I do other stuff?

Share this post


Link to post
Share on other sites



New security in Windows Vista causes a new browser window to be created when a browser is instructed to navigate to a URL in a different security zone.
This occurs as well with the initial creation and navigation initiated with _IECreate(). The new window is a new browser instance and the previous browser object variable no longer points to it.
There are several workarounds:
    1) add #RequireAdmin to your code (this is required even if the account is part of the Administrator's Group and will prompt for credentials if necessary),
    2) use _IEAttach() to connect to the new browser window
    3) add the target website to the Trusted Sites security zone in IE,
    4) turn off "Protected Mode" in IE,
    or 5) disable UAC. Care must be taken to understand the implications of disabling IE security features when accessing untrusted sites.

https://www.autoitscript.com/autoit3/docs/libfunctions/_IENavigate.htm 

1 person likes this

Share this post


Link to post
Share on other sites

Thank you J2TeaM

_IEAttach step was not needed, doing the rest worked for me

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