Jump to content

Internet Browser control


pligor
 Share

Recommended Posts

Hello! Has anyone found a way to control forms of a web browser using a script? I mean opening let's say the internet explorer at a certain webpage and automatically pass some arguments to complete a form you already know it will be there and also call the submit() function in that form.

Link to comment
Share on other sites

Look at the IE funtions in the help file, ('_IEFormElementGetObjByName' or '_IEFormElementGetCollection')

#include <IE.au3>
$oIE = _IECreate ("http://www.google.com")
$oForm = _IEFormGetObjByName ($oIE, "f")
$oQuery = _IEFormElementGetObjByName ($oForm, "q")
_IEFormElementSetValue ($oQuery, "AutoIt IE.au3")
_IEFormSubmit ($oForm)
Edited by Walls192
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...