danpaul23 Posted January 17, 2007 Posted January 17, 2007 I'm trying to use _IELinkClickByText but it is uncertain if the page will have the "text" which will be clicked. I want something like the following but I'm not sure if it's possible: if there is a link with the text "..." then _IELinkClickByText ($oIE, "...") end if Thanks for your help.
vtr Posted January 17, 2007 Posted January 17, 2007 Just taking a guess: can't you check for @Error:7 ($_IEStatus_NoMatch) = No Match (from the help-file).
danpaul23 Posted January 17, 2007 Author Posted January 17, 2007 Just taking a guess: can't you check for @Error:7 ($_IEStatus_NoMatch) = No Match(from the help-file).Yes, it looks like this should work. I just started learning and hadn't had to use the @Error function yet. Sorry for the silly question.Thanks again.
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