Jump to content
Sign in to follow this  

IE - Fetch values from table, _ArrayDisplay not working

Recommended Posts



I'm using  autoit-v3.3.13.16 (Beta). 

When I run this code to fetch the table values , I receive "_ArrayDisplay - Unknown Function Name" error.

Local $oTable = _IETableGetCollection($oIE, 0)
Local $aTableData = _IETableWriteToArray($oTable)
I also tried to get the table size (via trial and error) and print out some values but got the following error: Error: Array variable has incorrect number of subscripts or subscript range exceeded.  It would be great if you can point out where I'm wrong.
If IsArray($aTableData) Then
    For $i = 1 To UBound($aTableData, 0)
        ConsoleWrite("Dimension: " & $i & " :" & UBound($aTableData, $i) & @LF)


I'm attaching the html code and highlighted the values I need to capture. Thanks



Share this post

Link to post
Share on other sites


The following works for me...

#include <ie.au3>
#include <array.au3>

local $oie = _iecreate('www.scoresandodds.com',0,0)

Local $oTable = _IETableGetCollection($oIE, 0)
Local $aTableData = _IETableWriteToArray($oTable)

Run log...

>"C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /beta /ErrorStdOut /in "C:\Users\ADMIN010\Desktop\ie test.au3" /UserParams    
+>17:51:20 Starting AutoIt3Wrapper v. SciTE v.   Keyboard:00000409  OS:WIN_7/Service Pack 1  CPU:X64 OS:X64    Environment(Language:0409)
+>         SciTEDir => C:\Program Files (x86)\AutoIt3\SciTE   UserDir => C:\Users\ADMIN010\AppData\Local\AutoIt v3\SciTE\AutoIt3Wrapper   SCITE_USERHOME => C:\Users\ADMIN010\AppData\Local\AutoIt v3\SciTE 
>Running AU3Check (  from:C:\Program Files (x86)\AutoIt3\Beta  input:C:\Users\ADMIN010\Desktop\ie test.au3
+>17:51:21 AU3Check ended.rc:0
>Running:(\Program Files (x86)\AutoIt3\Beta\autoit3.exe "C:\Users\ADMIN010\Desktop\ie test.au3"    
--> Press Ctrl+Alt+F5 to Restart or Ctrl+Break to Stop
+>17:51:29 AutoIt3.exe ended.rc:0
+>17:51:29 AutoIt3Wrapper Finished.
>Exit code: 0    Time: 8.996


Edited by kylomas

Forum Rules         Procedure for posting code

"I like pigs.  Dogs look up to us.  Cats look down on us.  Pigs treat us as equals."

- Sir Winston Churchill

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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.