CrewXp Posted March 1, 2009 Share Posted March 1, 2009 I just noticed something. It might be that I'm running IE8 & Windows7 When I run this: _IECreate ("https://www.google.com",1,0,0,0) Result: Hides Window! When I run this: _IECreate ("https://www.google.com",1,0,0,0) Msgbox(0,"","Click When ready") _IECreate ("https://www.google.com",1,0,0,0) Result: Hides Window! When I run this: _IECreate ("https://www.google.com",1,0,0,0) _IECreate ("https://www.google.com",1,0,0,0) Result: Does not hide window... They Get called, but then pop up windows a few seconds later. Stats (I've done this too. 'The Workarounds'): 1.) YES: add #RequireAdmin to your code 2.) YES: add the target website to the Trusted Sites security zone in IE, 3.) YES: turn off "Protected Mode" in IE, or 4.) YES: disable UAC. Is this normal? I wanted to create 20 instances of my _IECreate using a for loop and put the objects in an array, but they all showed up for some reason. This is my debugging of it. Link to comment Share on other sites More sharing options...
PsaltyDS Posted March 2, 2009 Share Posted March 2, 2009 I just noticed something. It might be that I'm running IE8 & Windows7 When I run this: _IECreate ("https://www.google.com",1,0,0,0) Result: Hides Window! When I run this: _IECreate ("https://www.google.com",1,0,0,0) Msgbox(0,"","Click When ready") _IECreate ("https://www.google.com",1,0,0,0) Result: Hides Window! When I run this: _IECreate ("https://www.google.com",1,0,0,0) _IECreate ("https://www.google.com",1,0,0,0) Result: Does not hide window... They Get called, but then pop up windows a few seconds later. Stats (I've done this too. 'The Workarounds'): 1.) YES: add #RequireAdmin to your code 2.) YES: add the target website to the Trusted Sites security zone in IE, 3.) YES: turn off "Protected Mode" in IE, or 4.) YES: disable UAC. Is this normal? I wanted to create 20 instances of my _IECreate using a for loop and put the objects in an array, but they all showed up for some reason. This is my debugging of it. Can't duplicate your environment. It's not a problem with IE7 and XP Pro: #include <IE.au3> Global $oIE[4] For $n = 0 To UBound($oIE) - 1 $oIE[$n] = _IECreate ("https://www.google.com",1,0,0,0) Next Sleep(5000) For $n = 0 To UBound($oIE) - 1 _IEAction($oIE[$n], "visible") Sleep(1000) _IEQuit($oIE[$n]) Next This works fine for me. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law 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