Jump to content

_IELoadwait Error started today


Recommended Posts

Hi all

I have a Win 7 x86 PC connected to a TV running the script below:

Run("C:\ScreenDisplay\DataDisplay\Data Loading.exe","C:\ScreenDisplay\DataDisplay\")
Sleep(10000)
#include <IE.au3>
$oIE = _IECreate ("C:\ScreenDisplay\webice_exchange.jnlp")

Sleep(5000)

WinWait("[CLASS:SunAwtFrame]")

RunWait('taskkill /F /IM "iexplore.exe"')

Sleep(8000)

WinActivate("[CLASS:SunAwtFrame]")

send("{TAB 1}")
Send("xxxxxxxxxx")
Send("{ENTER}")

WinWait("IntercontinentalExchange" (ICE)  - dedwards3 @ Plexus Cotton Limited")

Run("C:\Program Files\KWorld Multimedia\TiVme\TVpanel.exe","C:\Program Files\KWorld Multimedia\TiVme\")

WinWait("Dual Device - Digital #1")

Sleep(10000)

MouseMove(920,318)

Sleep(10000)

Run("C:\ScreenDisplay\DataDisplay\Data Display.exe","C:\ScreenDisplay\DataDisplay\")

WinWait("Form1")
WinClose("Loading...")

Sleep(10000)

WinActivate("Form1")

MouseMove(1022, 0)

Today, for some reason, the script is failing with the below error in the console: 

>"C:Program FilesAutoIt3SciTE..autoit3.exe" /ErrorStdOut "C:ScreenDisplayLogin.au3"    
--> IE.au3 T3.0-1 Error from function _IELoadWait, $_IESTATUS_InvalidObjectType ()
 
I have tried adding #RequireAdmin to the script with no success.  The PC is up to date with Windows updates, and has the latest version of AutoIT3 (downloaded & installed today.
 
I can't figure out why its not working today when it has functioned perfectly well for the last 3 months.  
 
 
Thanks in advance.
Edited by probe
Link to comment
Share on other sites

Thanks Danp2.  Not getting any error now, but the script is still not completing.  The java app is opening, but that is all.

Edit: I changed the first sleep to 8000 to allow the java app more time to validate & it seems to be working.   I'll do a full test & post back.

Edited by probe
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...