hallaplay835 Posted March 26, 2011 Posted March 26, 2011 Hello everyone. Again, I am new to AutoIt; I only know the basics. Does anyone know how to interact with a form in IE? For example, consider a very simple form with only one button, which submits the form. If I know the ID of this control (specified in the HTML markup), is there a way to click on the button using AutoIt? I know one approach to solve this could be by hitting the tab key several times using the Send() function, and, once the cursor is selecting the desired control, clicking on it by pressing enter. However, I am looking for a more reliable solution: something that will look for an id of a control in a web page and then, if found, interact with it. I know there must be a form using the IE UDFs to achieve this, but the documentation is very unclear and I am unable to understand it. Could someone post the function or combination of functions that solves this problem? Thanks. An example with the function in use would be appreciated. _____________________________________________________[size="2"][font="Arial"]"Pain is temporary, glory is forever."[/font][/size]
Moderators big_daddy Posted March 29, 2011 Moderators Posted March 29, 2011 The issue here is not that the documentation is not clear, but that you do not have a good understanding of the AutoIt language in general. I'd suggest that you run through the " tutorial to help you get a better understanding. Every IE.au3 function has an example of its use and detailed explanations of the parameters.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now