I've been able to select the <input> element a few ways:
Code: Select all
1) pwb.document.getElementsByTagName("input")[18].value
2) pwb.document.GetElementsByName("FindText")[0].Value
3) pwb.document.FindDlg.FindText.value
Again, none of the higher elements, or even the <input> element contain an ID or CLASS. I can type something in and get the value to return in a MsgBox, but I can't get AHK to send a value to the text field.
I've tried sending multiple tab commands, as I can get the cursor to appear after hitting tab roughly 7-8 times. But the tab commands don't send as I'm expecting them to.
Code: Select all
SendInput, {tab}
Code: Select all
1) pwb.document.getElementsByTagName("input")[18].value = "something"
2) pwb.document.GetElementsByName("FindText")[0].Value = "something else"
3) pwb.document.FindDlg.FindText.value = "something elser"
Help?