Jump to content

A simple google search


dadalt95
 Share

Recommended Posts

Perform a simple google search!

The script below works fine until fill the google form!

What I can't find is how to submit the form, tried a couple of ways and none of them worked.


 

#include <IE.au3>
$oIE = _IECreate ("www.google.com")
$o_form = _IEFormGetObjByName ($oIE, "f")

$o_login = _IEFormElementGetObjByName ($o_form, "q")
$username = "80251369"
_IEFormElementSetValue ($o_login, $username)

$o_numer = _IEGetObjByName($o_form, "btnK")

_IEAction ($o_numer, "click")

 

The code runs without any problem.

I don't know how to proceed!

Thanks in advance!

Link to comment
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
 Share

×
×
  • Create New...