Sign in to follow this  
Followers 0
athanatis

Clicking a web page button

3 posts in this topic

I want to make a script that would click a button on a webpage, but I can't simply set the mouse to click at a particular spot because the button isn't always in the same place on the page. But it always has the same name. To be exact, the html for the button always looks like this:

<input type=button value="Start Research !" name=yr37lq onclick="xgrpqn(yr37lq);">

Someone said that I could use ControlClick or ControlSend, but I can't find the properties of the button. When I use AutoIt Window Info on the webpage, the ID and Text are both blank. I tried using CLASS:Button; TEXT:Research This ! for the ControlID, but it doesn't work. Can anyone help me with this?

Thanks in advance.

Share this post


Link to post
Share on other sites

Look in the help file for _IE* functions. You will find some good examples there at should get you started.

Share this post


Link to post
Share on other sites

Cool thanks, I'll try it out.

Share this post


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
Sign in to follow this  
Followers 0