Sign in to follow this  
Followers 0
noce

IE.au3 with Internet Explorer 11 on Windows 8.1

5 posts in this topic

I'm using "IE.au3" additional library for manipulating Internet Explorer (_IEAttach, _IECreate and _IENAvigate).

On Windows 8.1 64bit pc with IE11 my script has a strange behaviours ... is this class fully compatible/supported with those?

Share this post


Link to post
Share on other sites



has a strange behaviours

 

How about posting your script so we can help you troubleshoot, rather than asking us to guess at what you're trying to do ;)


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

This is my simple script:
 
#include <IE.au3>
_IE_VersionInfo()
$pBaseUrl = "http://valmic-dt:18080/MYWEBAPP/" ; TOMCAT
;~ $pBaseUrl = "http://valmic-dt:81/MYWEBAPP/" ; APACHE
$oIE = _IEAttach($pBaseUrl, "url")
Switch @error
   case $_IEStatus_NoMatch
      $oIE = _IECreate($pBaseUrl & "jsp/qwp_container.jsp", 0, 1)
      _IENavigate($oIE, $pBaseUrl)
   case $_IEStatus_Success
      _IENavigate($oIE, $pBaseUrl)
EndSwitch

 

I run it from Window 7 x64 pc with Internet Explorer 11 (Version 11.0.9600.16476), browser is created and _IENavigate works. This is the console log:

>"C:Program Files (x86)AutoIt3SciTE..autoit3.exe" /ErrorStdOut "prova.au3"    
--> IE.au3 T3.0-1 Information from function _IE_VersionInfo, version T3.0-1 (Release date: 20130601)
--> IE.au3 T3.0-1 Warning from function _IEAttach, $_IEStatus_NoMatch
>Exit code: 0    Time: 1.496
 
I try it from Windows 8.1 x64 (Version 6.3, build 9600) and the same IE 11 version, browser is created but _IENavigate fails:
>"autoit3.exe" /ErrorStdOut "prova-100114.au3"
--> IE.au3 T3.0-1 Information from function _IE_VersionInfo, version T3.0-1 (Release date: 20130601)
--> IE.au3 T3.0-1 Warning from function _IEAttach, $_IEStatus_NoMatch
--> IE.au3 T3.0-1 Error from function _IELoadWait, $_IEStatus_InvalidObjectType ()
--> IE.au3 T3.0-1 Error from function _IENavigate, $_IEStatus_InvalidObjectType
>Exit code: 0    Time: 0.594
Edited by noce

Share this post


Link to post
Share on other sites

Does your code work if you add #RequireAdmin? You may want to review the remarks section under the _IENavigate entry in the help file.

Share this post


Link to post
Share on other sites

Oh thanks ... you are right!

WIth #RequireAdmin the scripts runs as Windows 7 ... but it's very annoying.

I also tried to put _IEAttach after _IECreate (as help says) and it works but sometime _IECreate loops in function _IELoadWait in

IE.au3 (row 460):

...

While Not (String($o_object.readyState) = "complete" Or $o_object.readyState = 4 Or $f_Abort)

...

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