Question

I'd like to create C# outlook addin to automate a process of adding mail fragments as comments in my bug tracking system (Jira).

To create the comment I need to extract currently selected text. I manage to do that in a tricky way for email window (following this article). But I didn't find any way to access the current selection in the preview window.

Any suggestions?

Was it helpful?

Solution

It seems that there is no exposed way to access selected text in the reading pane of Outlook 2007.

The most reasonable solution I've found is to send "CTRL-c" and read the text that was copied. But it doesn't always work as the mail viewer in reading pane has to be selected which isn't always true.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top