Jump to content

Input Text in Browser


Recommended Posts

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

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

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

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...