Sign in to follow this  
Followers 0
Eyal

Browser click

3 posts in this topic

Hi,

I have an application that we launch via IE. But AutoIT is not recognise any of the objects in the winodw. Any idea?

How can I search for a string and then click on it?

Thanks,

Share this post


Link to post
Share on other sites



If the string is a link this might work

#include <IE.au3>
$oIE = _IEAttach("x", "Title") ; Replace "x" with IEs title
If @error = $_IEStatus_NoMatch Then Exit ; Exits if it can't find the IE window
_IELinkClickByText ($oIE, "x") ; Replace "x" with the string to click on

Share this post


Link to post
Share on other sites

If the string is a link this might work

#include <IE.au3>
$oIE = _IEAttach("x", "Title") ; Replace "x" with IEs title
If @error = $_IEStatus_NoMatch Then Exit ; Exits if it can't find the IE window
_IELinkClickByText ($oIE, "x") ; Replace "x" with the string to click on
Look like it select it, but not clicking it and the mouse remain in another place on the browser.

Any advise?

thanks Eyal

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