Viscouse Posted January 6, 2014 Share Posted January 6, 2014 I'm sorry to post, but I need some help. I have a Windows 7 machine with Internet Explorer 11 and the latest Autoit. I can't get this simple line to run and it's just bogglling me. #include <IE.au3> Local $oIE = _IECreate() Local $sHTML = "<h1>Hello World!</h1>" >"C:Program FilesAutoIt3SciTE..autoit3.exe" /ErrorStdOut "D:autoittest1.au3" --> IE.au3 T3.0-1 Error from function _IECreate, (Browser Object Creation Failed) >Exit code: 0 Time: 0.312 I have no idea why this is happening. Can anyone help me with any tips? Link to comment Share on other sites More sharing options...
gruntydatsun Posted January 6, 2014 Share Posted January 6, 2014 Do you have any zombie ie instances running? Have a look in task manager and see if you have too many instances of Iexplore.exe. Link to comment Share on other sites More sharing options...
Jury Posted January 6, 2014 Share Posted January 6, 2014 (edited) What are you trying to do? Are you trying to create a web page with <h1>Hello World!</h1> on it? Look at the help pages for: _IEBodyWriteHTML or _IEDocInsertHTML Edited January 6, 2014 by Jury Link to comment Share on other sites More sharing options...
gruntydatsun Posted January 6, 2014 Share Posted January 6, 2014 Do the sample scripts at the bottom of the _IECreate() helpfile entry work for you? Link to comment Share on other sites More sharing options...
Viscouse Posted January 7, 2014 Author Share Posted January 7, 2014 No zombies running. I found that advice in another thread and was the first thing I checked. As for what I'm trying to do, is just get IE open to a website. The code you see above is actually Example #4 from the helpfile. In fact, none of the examples work. I get the same error: "--> IE.au3 T3.0-1 Error from function _IECreate, (Browser Object Creation Failed)" Link to comment Share on other sites More sharing options...
Viscouse Posted January 9, 2014 Author Share Posted January 9, 2014 I should add that I have another machine, also Win7, but running IE8. I ran the same script as in the initial post and it worked perfectly. Could it be a IE issue? Link to comment Share on other sites More sharing options...
Jury Posted January 11, 2014 Share Posted January 11, 2014 I now also have a Windows 7 machine with Internet Explorer 11 and the latest Autoit and this works ok for me. #include <IE.au3> Local $oIE = _IECreate() Local $sHTML = "<h1>Hello World!</h1>" _IEBodyWriteHTML($oIE, $sHTML) of course I've included the required last line which is missing from your first post: _IEBodyWriteHTML($oIE, $sHTML) 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