Kinhow Posted July 23, 2015 Share Posted July 23, 2015 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? Link to comment Share on other sites More sharing options...
J2TeaM Posted July 23, 2015 Share Posted July 23, 2015 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 Kinhow 1 My UDF/Example Scripts: Imgur UDF | AutoIt & PHP/MySQL | Font Icon UDF | Awesome AutoIt My Blog: https://junookyo.blogspot.com/ Link to comment Share on other sites More sharing options...
Kinhow Posted July 23, 2015 Author Share Posted July 23, 2015 Thank you J2TeaM_IEAttach step was not needed, doing the rest worked for me Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now