Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Click on a button next to some text

$
0
0
 
prist.png
 
Hi all, i have a problem clicking on a button that has no unique identifier, the only thing that can identify it is a text that comes before the button on the same horizontal line, there is several buttons, all the same name so im trying to figure out how the script would know wich button to press when text is found, here is some properties of the button and a text field.
 
 
document.all.data.contentWindow.document.forms.ServiceListForm.childNodes.item(6).childNodes.item(0).childNodes.item(6).childNodes.item(0).childNodes.item(0).childNodes.item(0).childNodes.item(0).childNodes.item(4) <TD class=listRowTable width="20%" align=left>Pristillägg  </TD> document.all.data.contentWindow.document.forms.ServiceListForm.childNodes.item(6).childNodes.item(0).childNodes.item(6).childNodes.item(0).childNodes.item(0).childNodes.item(0).childNodes.item(0).childNodes.item(6).childNodes.item(0) <BUTTON class=chooseButton>i</BUTTON>

It's the "i" i'm trying to click btw

Is it possible to use some kind of mousemove to text click and tab or a better way

 

Thanx in advance

Attached Thumbnails

  • prist.png

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>