Sign in to follow this  
Followers 0
fhanna

Reading Outlook text

4 posts in this topic

When using the WinGetText function on an opened Outlook email it only retrieves the Header text. How do you retrieve the message text in Autoit?

Thank you

Share this post


Link to post
Share on other sites



Share this post


Link to post
Share on other sites

ptrex

Thanks for your response. I ran your sample and it worked fine. Could not get it to work with my opened Outlook email (running Outlook client on XP Professional with Windows 2003 Exchange server)

Utilized the AutoIt Window Info utility and the Class name was rctrl_renwnd32 so replaced the Notepad with this. Received Window Active and Line = 0 and nothing else. Any suggestions?

Share this post


Link to post
Share on other sites

@fhanna

You need to change this in the example :

Const $Applhandle = WinGetHandle("classname=rctrl_renwnd32")
Const $Ctrlhandle = ControlGetHandle("","",2748)

This work at least if the mail Format is RichText. I don't know about if it is an HTML formatted mail .

regards

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