Jump to content

Recommended Posts

Posted

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

Posted

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.

Posted

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.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...