Jump to content
Sign in to follow this  
turbox

How i can find table index?

Recommended Posts

turbox

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

Share this post


Link to post
Share on other sites
amokoura

Please give us some more detailed error information.

Share this post


Link to post
Share on other sites
turbox

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

Share this post


Link to post
Share on other sites
amokoura

I'm too lazy to try. Use some debugging to investigate the values of the variables or specify the problem you're having, please :P

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  

×