ileandros Posted March 18, 2012 Share Posted March 18, 2012 Hey, I am trying to find the something on the source code of http://translate.google.com/ . I want to find the NAME of the second box that translates.(the right one). I am trying to create a google translate and i cant find the name of it. Anyone who understands good the source codes and know a little bit html plz help. ALL KIND OF HELP WOULD BE APRECIATED! I feel nothing.It feels great. Link to comment Share on other sites More sharing options...
ileandros Posted March 18, 2012 Author Share Posted March 18, 2012 <form name="text_form" id="gt-form" action="/" encType="application/x-www-form-urlencoded" method="post"> this is the name of the first edit box on the left but i cant find the other one... I feel nothing.It feels great. Link to comment Share on other sites More sharing options...
hawkair Posted March 18, 2012 Share Posted March 18, 2012 (edited) try #include <IE.au3> $Url = "http://translate.google.com/" $oIE = _IECreate($Url, 0, 1) $oForm = _IEFormGetCollection($oIE, 0) $oElement1 = _IEFormElementGetCollection($oForm, 9) _IEFormElementSetValue($oElement1, "test") $oTranslate = _IEFormElementGetCollection($oForm, 2) _IEAction ($oTranslate, "click") Edited March 18, 2012 by hawkair Link to comment Share on other sites More sharing options...
ileandros Posted March 18, 2012 Author Share Posted March 18, 2012 (edited) I dont know if thats it because i've already tried that. I want to get the value of the second one. I want to read it. I want to pull whats written in the second one(the one one the right that translates) Edit: i am talking about the "text" Edited March 18, 2012 by ileandros I feel nothing.It feels great. 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