Word Keyboard event

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

Word Keyboard event
How can I subscribe to recieve keyboard events 
arie.schwartzman




Posts: 3
Joined: 2007-12-25
I would like to accept an event each time a user presses down any key while editing a document in Word or in outlook.

I was unable to find such an event. Preferable I would like to get more specific event like ending of paragraph or a sentence
Posted 03 Jan, 2008 16:43:12 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Arie.

I am afraid it is not possible. The Object Model of Word and Outlook doesn't contain such events.
Posted 06 Jan, 2008 10:17:23 Top
ashish sharma


Guest


Hi Sergey,

I need to implement a spell checker functionality in msword.
so when ever a user type a word and hit space bar the add ins shd chk database for that word and will pop a message if that word is not there in database.

you suggest me to use
DocumentChange event and the Selection object of Word application.
but i m unable to proceed with the same.
Posted 11 Feb, 2008 05:18:25 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Ashish.

I think you will have to use hooking to catch keyboard events in Word and Outlook. Please read about it in MSDN: "Hooks" chapter (see 'KeyboardProc' hook procedure).
Posted 11 Feb, 2008 08:09:14 Top
ashish sharma


Guest


Hi Sergey,

will be thankful if you can send me some coding to do the same in vb.net.
Posted 19 Feb, 2008 08:39:37 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Ashish.

I am going to add this feature to a new build of Add-in Express for VSTO.
We decided to postpone the release till the end of next week.
Posted 19 Feb, 2008 11:12:37 Top
ashish sharma


Guest


Hi Sergey,

Any updates regarding word keyboard event which you are going to release in you addin updates
Posted 25 Feb, 2008 07:50:15 Top
ashish sharma


Guest


Hi Sergey,

for implementing key board event i had taken a timer control which will keep track of word count in win word window and whenever the new word get typed it will pop up a message and on clicking OK the form goes into invisible mode, and keep track on number of word , the moment the use press spacebar and the next alphabet the message get poped up.

Posted 03 Mar, 2008 07:25:42 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Ashish.

I am still working on this. Please wait a new build.
Posted 03 Mar, 2008 09:17:35 Top
ashish sharma


Guest


Hi Sergey

I m having some urgent deliverables so if you can give me some approx time when the build up is ready, i will be very much thankful to you.
Posted 06 Mar, 2008 00:00:55 Top