Jump to content

IE.au3 with Internet Explorer 11 on Windows 8.1


noce
 Share

Recommended Posts

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?

Link to comment
Share on other sites

  • Moderators

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 ;)

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

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
Link to comment
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)

...

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...