For example I have 20 IDENTITY_NUMBER and I have to click 20 times on the button on the right to Delete the qualifications
Code: Select all
<tr>
<td>Annullamento</td>
<td>Pratica</td>
<td>Operatore</td>
<td>Notifica</td>
<td>1</td>
<td>NAME</td>
<td>SURNAME</td>
<td>0123456789</td> ; IDENTITY_NUMBER
<td>ATTIVO</td>
<td> <a href="https://id/link_108161">Delete</a> ; link to click
<!-- In caso ... -->
<a href="https://id/link_8057">Modify</a>
</td>
</tr>
Code: Select all
IE := ;Cleanup, optional but advised if this is a persistent script.
IE := IEGet() ;Retrieve pointer to existing IE window/tab
input := IE.document.getElementsByTagName("TR")
; loop through list of <input> tags
loop, % input.Length ;% Loop
{
; find <input> tag by name
if ( input[(A_index-1)].InnerHTML == "0123456789" ){
MsgBox Trovato
break ; break loop
}
}
Return