unity06 Posted November 5, 2013 Posted November 5, 2013 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.
unity06 Posted November 5, 2013 Author Posted November 5, 2013 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.
allSystemsGo Posted November 5, 2013 Posted November 5, 2013 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.
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