Hi all, this is my first post here and I have a really basic question: How can I set the value of a text field inside a form in IE when the form doesn't have a name?
Let's say the text field whose value I'm trying to set it is called "textField".
My code is as follows:
#include <IE.au3>
$oIE = _IECreate("http://www.something.com",0,1,1,0)
$oForm = _IEGetObjByName($oIE, "textField")
$oForm.value = "Set this text in the text field"
_IEFormSubmit ($oForm)
What am I doing wrong? This code just opens the browser with the correct URL and then appears to hang (the script appears to still be running, or paused rather as indicated by the Autoit icon in the system tray).
Thanks in advance!
PS - I'm using IE7, Autoit Beta and Scite