only index is filled
how can i use it with COM ?

All[ Index ]
getElementsByTagName(" Tag of Button here ")[ Tag Index here ]
document.getElementById("gaia_loginform").submit()
Yes - I tried that method but when I run the iWebBrowser2 all I get on the top is <DIV> and nothing else except what is in the outerHTML. By the looks of the above video, in orde to use 'GetElementsByTagName' I also need the [number] which it doesn't show one. Any other ideas?
Right now this is what I have for the line: pwb.document.GetElementsByTagName("DIV")[no # shown in iWebBrowser2].click()
That's odd - the tag number should calculate once you release the cross-hair over the element. Anyways, it seems to be dynamic. You could get creative & accomplish this many ways - here's one example:
wb.document.getElementById("lmc3d").childNodes[3].childNodes[1].click()
Note - the lmc3d element doesn't exist right away when the document loads.
OK - that worked. Now can you explain what that all means so I can learn from it. I have to also click the Zoom Out and a few other buttons on the page that have the same characteristics. Thanks
I got as much that the ID lmc3d is the navigation controls of the page, but how did you see this ID? I can't see it anywhere with the iWebBrowser2. As for the Childnodes this is where I am lost. I tried changing the value and it errors out. Is there a way to see all of the nodes within the ID so I can identify which node does what?
Did you look at the Parent Structure of the Zoom In element?
I don't know how to do that and now it seems its not working so perhaps it is dynamic.
Now that it has been identified that the above ended up not workng later (seems to be dynamic), you had mentioned I could get creative & accomplish this many ways - Can you provide another way that this might be accomplished?
div := wb.document.getElementById("lmc3d").getElementsByTagName("div") Loop % div.length if (div[A_Index-1].title = "Zoom In") { div[A_Index-1].click() break }