danpaul23 Posted January 17, 2007 Share 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. Link to comment Share on other sites More sharing options...
vtr Posted January 17, 2007 Share Posted January 17, 2007 Just taking a guess: can't you check for @Error:7 ($_IEStatus_NoMatch) = No Match (from the help-file). Link to comment Share on other sites More sharing options...
danpaul23 Posted January 17, 2007 Author Share 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. 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