Grab text and cursor position of composing mail

Add-in Express™ Support Service
That's what is more important than anything else

Grab text and cursor position of composing mail
Peter Schout

Posts: 2
Joined: 2011-05-15
Hi there,

Is it possible to grab the text and the specific cursor position during the composition of a new mail? I'm trying to detect the last word that has been typed in.

Any pointers would be helpfull..

Posted 15 May, 2011 17:18:06 Top
Dmitry Kostochko

Add-in Express team

Posts: 2865
Joined: 2004-04-05
Hi Peter,

You can use the Inspector.WordEditor property to get access to the Word._Document interface and then use properties and methods of the Word Object Model to work with the selection.
Posted 16 May, 2011 05:10:29 Top
Peter S

Posts: 2
Joined: 2011-05-15
Posted 16 May, 2011 09:05:59 Top