Sign in to follow this  
Followers 0
Guest RJS

Send focus to a hypertext link

3 posts in this topic

I have just started using AutoIt. Can't believe the full function set! Thanks to all who built this great tool.

I want to automate filling of a web page form. I've got MSIE loading the web site OK and now have to "click" through a few hypertext links to get to the page with the form I want. I can do this with Send("{TAB}")'s, but this assumes that the number of links doesn't change. Is there a way to send focus directly to a link with defined text such as "Click here to logon"

Thanks

Rob

Share this post


Link to post
Share on other sites



The following should work (MSIE v6, here)

  • CTRL+F for the link text
  • Escape the Find dialog :: {ESC}
  • Tab .. sets focus at the highlighted link
HTH :D

Share this post


Link to post
Share on other sites

Many thanks - sometimes the most obvious solution is not - well.. obvious!

Cheers

Rob

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