Jump to content
Sign in to follow this  
unity06

Help with IE automation control

Recommended Posts

unity06

Hi guys,

I am learning how to automate IE with autoit and ran into a problem

I want to click onto this email which is shown on this page. But I do not know how to do it.

Can someone please help me? How can I simulate a click on that email shown in screenshot.

help_with_ie.jpg

Share this post


Link to post
Share on other sites
unity06

Just to highlight that I wish to automate this through IE functions,

I know it is possible to simulate a click using coordinates on this, but that is not the way I wish to solve this.

Share this post


Link to post
Share on other sites
allSystemsGo

How are you going to determine what you want the script to open? A certain subject? For example, if subject is "Test", you want it to open?

You will need to look at _IETagNameGetCollection. Set it to something like

$subjects = _IETagNameGetCollection($oIE,"div")

Then you could do something like

;;not tested, but could be a start


For $subject in $subjects
    If String($subject.className)="subject ng-binding" Then
       If _IEPropertyGet($subject,"innertext") = "Text" Then
   ; execute whatever you're trying to do
       Endif
    Endif
    Next

Maybe that will help.

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  

×