dreamzboy Posted December 4, 2007 Share Posted December 4, 2007 Hi Guys, I've spent half an hour searching but did not find anything related to my needs. I'd like to input text in a text field in a web browser. Is it possible to do this? I tried writing a script using all the informations that I got from Windows Info Tool, but that didn't go too well. Any help is much appreciated. Thanks!! Dreamzboy Link to comment Share on other sites More sharing options...
Nahuel Posted December 4, 2007 Share Posted December 4, 2007 The _IE* functions are what you need. Look for: _IEGetObjByName() _IEFormElementSetValue() And all the other _IEForm*() functions you can find There are examples using google for what you want, they are quite clear. If you need further help, just let us know Link to comment Share on other sites More sharing options...
dreamzboy Posted December 4, 2007 Author Share Posted December 4, 2007 Thanks Nahuel for the quick reply. I heard of that fuction but couldn't find it on AutoIT documentation. Where can I find more information about it? Much appreciated. Link to comment Share on other sites More sharing options...
Nahuel Posted December 5, 2007 Share Posted December 5, 2007 Well, in the help file! Go to SciTe editor and press F1. This is the example for _IEFormElementSetValue() #include <IE.au3> $oIE = _IECreate ("http://www.google.com") $oForm = _IEFormGetObjByName ($oIE, "f") $oQuery = _IEFormElementGetObjByName ($oForm, "q") _IEFormElementSetValue ($oQuery, "AutoIt IE.au3") _IEFormSubmit ($oForm) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now