Jump to content

Recommended Posts

I think this is a Button of a Form. First you have to find the name of this Form.

Ex. <form action="http://www.autoitscript.com/forum/index.php?" method="post" name="search">

The name of the form is search

First you have to initialise a IEObject like this:

$oIE = _IECreate();If it should be invisible then put an (0) instead of a () after the function name

Navigate to your page like this:

_IENavigate($oIE, "http://www.nobrain.ch/script.php")

Then you get the FormObject by:

$oForm = _IEFormGetObjByName($oIE, "search")

Then you can get the object of the button you want to click on like this:

$oButton = _IEFormElementGetObjByName($oForm, "btnValide")

Then to execute the click on it use this line of code:


The Button gets clicked, and the Javascript function EffaceZoneResultat() is executed as you would klick on it inside your browser.

Hope this works for you.

Say: "Chuchichäschtli"My UDFs:_PrintImage UDF_WinAnimate UDFGruess Raindancer
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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...