athanatis Posted January 15, 2008 Share Posted January 15, 2008 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. Link to comment Share on other sites More sharing options...
Moderators big_daddy Posted January 15, 2008 Moderators Share Posted January 15, 2008 Look in the help file for _IE* functions. You will find some good examples there at should get you started. Link to comment Share on other sites More sharing options...
athanatis Posted January 15, 2008 Author Share Posted January 15, 2008 Cool thanks, I'll try it out. Link to comment Share on other sites More sharing options...
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