Jump to content

How i can find table index?


Recommended Posts

I am trying this script but it doesn't seems to be working

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

for $i = 1 to 49 step 1

$oTables = _IETableGetCollection($oIE, $i)

$aTableData = _IETableWriteToArray ($oTables)

$check = _ArraySearch($aTableData, "HP Notebook System BIOS")

if $check = 6 Then

Else

msgbox(0, "", $i)

Next

can somebody help?

Edited by vakis
Link to comment
Share on other sites

Try this

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

for $i = 1 to 48 step 1

$oTables = _IETableGetCollection($oIE, $i)

$aTableData = _IETableWriteToArray ($oTables)

$check = _ArraySearch($aTableData, "Bios")

msgbox(0, $i, $check & " " & @error)

Next

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