Jump to content
Sign in to follow this  
ileandros

Source code help(html)

Recommended Posts

ileandros

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.

Share this post


Link to post
Share on other sites
ileandros

<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.

Share this post


Link to post
Share on other sites
hawkair

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 by hawkair

Share this post


Link to post
Share on other sites
ileandros

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 by ileandros

I feel nothing.It feels great.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×