Sign in to follow this  
Followers 0
rahuroy

How to automate clicking on New Mail in Outlook web access?

2 posts in this topic

I am automating sending new mail from outlook web access mail but not able to get to click on New mail either through sending keys of {ctrl N} or ^N and also using control click .Please resolve this issue.

Below is snippet of code i have written

Func composeMail()

MsgBox (0,"ComposeMail", "Entering into ComposeMail Function",2)

WinActivate("admin j")

Sleep(5000)

ControlClick("admin j- Outlook Web Access","","[CLASS:Internet Explorer_Server; INSTANCE:2]")

Send("{ctrl N}")

MsgBox(0,"AutoIt - OWA", "Script Exit point",3)

EndFunc

Attaching screenshot

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

I think you'll have to use the IE UDF to do what you want. Maybe this sheds some light on it.

Edited by water

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

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