ludo10 Posted October 21, 2010 Share Posted October 21, 2010 Hello, i have a little problem I create a GUI and inside an Internet webpage. I hide the Gui, but when the Ienavigate change the URL, i lost the focus in the active windows where i am (for exemple while i wrote this message) If Someone will have any idea, i will be happy to read this. Thx #include <GUIConstants.au3> #include <IE.au3> $oIE = ObjCreate("Shell.Explorer.2") GUICreate ( "Hello World", 640, 580) $GUIActiveX = GUICtrlCreateObj ( $oIE, 10, 40 , 620 , 500 ) GUISetState (@SW_DISABLE) ;Show GUI $oIE.navigate("http://www.google.fr") ; Waiting for user to close the window While 1 _IELoadWait ($oIE, 10000, 60000 ) if @error = 6 Then _IEAction ($oIE, "refresh") EndIf $oIE.navigate("http://www.google.fr") sleep (5000) Wend GUIDelete () Exit 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