XeroBladez Posted October 12, 2005 Posted October 12, 2005 is it possible to make a script that scrolls down the internet explorer window a certain amount, and clicks a link on the screen, or something more reliable. anything to amke it click a link for me?
falconv Posted October 12, 2005 Posted October 12, 2005 (edited) I'm sure there's a more efficient way, but this works: Just open the IE window (in the example I just opened google.com), and follow the script below (adjust as necessary) Send("^f") ;open Find dialogue WinWaitActive("Find") ;wait for it to open Send("froogle{Enter}") ;find what you're looking for Sleep(500) ;get some coffee Send("{Esc}") ;close Find window Send("{Tab}") ;selects the found text so you can "click" it Send("{Enter}") ;open the selected linkLike I said, I'm sure there's a MUCH better (and reliable) way of doing it (try checking out IE.au3 I think it is. I haven't looked at it since I haven't had a need yet, but I hear it does a lot), but this works at least. Good luck. Edit: just added comments, that's all. Edited October 12, 2005 by falconv
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