Jump to content

Read IE Table


Recommended Posts

:P Could someone please tell/help me, why can't I get this HP's BIOS or any table into an array from the site below?

$oIE = _IECreate ("http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareIndex.jsp?lang=en&cc=us&prodNameId=3357378&prodTypeId=321957&prodSeriesId=3357377&swLang=8&taskId=135&swEnvOID=1093#120",0,1,0,0)

$oTable = _IETableGetCollection ($oIE, 0)
$aTableData = _IETableWriteToArray ($oTable, True)
_ArrayDisplay($aTableData)
Edited by gfunk999
Link to comment
Share on other sites

#include <IE.au3>
#include <array.au3>

$oIE = _IECreate ("http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareIndex.jsp?lang=en&cc=us&prodNameId=3357378&prodTypeId=321957&prodSeriesId=3357377&swLang=8&taskId=135&swEnvOID=1093#120",0,1,0,0)
_IELoadWait($oIE)

$oTable = _IETableGetCollection ($oIE, 29)
$aTableData = _IETableWriteToArray ($oTable, True)
_ArrayDisplay($aTableData)

You were executing before the page loaded you can also do the same thing with _IECreate. Also look at the _IETableGetCollection you can get them all by going up 1 till 48

Contact via MSN: [email=terarink_msn@hotmail.com]terarink_msn@hotmail.com[/email], yahoo: terarink_yah

Link to comment
Share on other sites

Very nice indeed. I was using the sleep() function, but that didn't work, I see why as the page can load at different speeds depending on the PC.

Did you look at the source code for the index number 29?

#include <IE.au3>
#include <array.au3>

$oIE = _IECreate ("http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareIndex.jsp?lang=en&cc=us&prodNameId=3357378&prodTypeId=321957&prodSeriesId=3357377&swLang=8&taskId=135&swEnvOID=1093#120",0,1,0,0)
_IELoadWait($oIE)

$oTable = _IETableGetCollection ($oIE, 29)
$aTableData = _IETableWriteToArray ($oTable, True)
_ArrayDisplay($aTableData)

You were executing before the page loaded you can also do the same thing with _IECreate. Also look at the _IETableGetCollection you can get them all by going up 1 till 48

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...