hello!
I have a small problem with extracting data from a table.
I want to extract these names ...
Aer conditionat mobil
Aer conditionat
Agentii imobiliare
etc...
how can I do that?
<TD> and </ TD>
this is my script:
I have a small problem with extracting data from a table.
I want to extract these names ...
Aer conditionat mobil
Aer conditionat
Agentii imobiliare
etc...
how can I do that?
<TD> and </ TD>
this is my script:
#include <Inet.au3> #NoTrayIcon #include <String.au3> #include <ButtonConstants.au3> #include <GUIConstantsEx.au3> #include <ListViewConstants.au3> #include <WindowsConstants.au3> #include <Ie.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Form1", 404, 292, -1, -1) $Button1 = GUICtrlCreateButton("Arata", 8, 8, 75, 25) $ListView1 = GUICtrlCreateListView("#Nr|#Name", 8, 40, 386, 238) GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 0, 50) GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 1, 300) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Button1 $link =_IECreate("file:///H:/Tabel%20De%20Facut/index.html",Default,1,1,0) _IELoadWait($link) Global $SourceText = _IEBodyReadHTML($link) _IEQuit($link) $string1 = _StringBetween($SourceText,'<TD>','</TD>') For $1 = 0 To 106 GUICtrlCreateListViewItem($1+1&"|"&$string1[$1], $ListView1) Next MsgBox(0,"","Finish !") EndSwitch WEnd