Control and get element under IE tab and frames...
Posted: 15 Apr 2015, 17:08
I try to get access inside of others tab, sorry, I don't know what to do, and I am very unskilled with this stuff... I have an obligation of using tab, for merge and save a lot of ressources...
I build the browser like this:
...but I have only acces of the first tab, what I have to do for the others ? Something to get and store for a wb.tab[x] ?
Thanks a lot in advance, I want to be more present, but my life is currently unstable, I miss you all but seems the ahk futur will be gorgeous (still time to read)...
I build the browser like this:
Code: Select all
wb := ComObjCreate("InternetExplorer.Application")
wb.Visible := true
loop % number
{
if (a_index = 1)
wb.Navigate(link)
else
wb.Navigate2(link, 2048)
}
Code: Select all
wb.document.parentWindow.frames["X"].frames["Y"].document.getElementById("Z").click()