Sym98 Posted May 9, 2012 Share Posted May 9, 2012 Hi, i need to use Autoit to write a text in a textarea, and then, press a button into one web site. For example, make a search in www.google.com pressing the button for the search. Should I use IE.au3? Thanks to all in advance. P.S = Sorry my English, I am Italian. Link to comment Share on other sites More sharing options...
searchresult Posted May 11, 2012 Share Posted May 11, 2012 You could look in help file for IE.au3 there you have an example for google.com. or here is the code for google translate. (It is the same code from help file only changed the name of form and element) #include <IE.au3> $oIE = _IECreate("http://translate.google.com/", 1) $oForm = _IEFormGetObjByName($oIE, "text_form") Local $oQuery = _IEFormElementGetObjByName($oForm, "source") _IEFormElementSetValue($oQuery, "You can write here what ever you want") _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